diff --git a/test/integration/registrar/invoices/new_invoice_payment_test.rb b/test/integration/registrar/invoices/new_invoice_payment_test.rb index c3f48e3d0..f12445157 100644 --- a/test/integration/registrar/invoices/new_invoice_payment_test.rb +++ b/test/integration/registrar/invoices/new_invoice_payment_test.rb @@ -33,6 +33,6 @@ class NewInvoicePaymentTest < ActionDispatch::IntegrationTest assert_equal('https://igw-demo.every-pay.com/transactions/', form['action']) assert_equal('post', form['method']) assert_equal(expected_hmac_fields, form.find_by_id('hmac_fields', visible: false).value) - assert_equal('240.0', form.find_by_id('amount', visible: false).value) + assert_equal('240.00', form.find_by_id('amount', visible: false).value) end end diff --git a/test/models/payments/every_pay_test.rb b/test/models/payments/every_pay_test.rb index 790de2b6c..6ed68fd9f 100644 --- a/test/models/payments/every_pay_test.rb +++ b/test/models/payments/every_pay_test.rb @@ -50,7 +50,6 @@ class EveryPayTest < ActiveSupport::TestCase account_id: "EUR3D1", timestamp: "1522542600", amount: "12.00", - order_reference: "Order nr. 1", transaction_type: "charge", hmac_fields: "account_id,amount,api_username,callback_url,customer_url,hmac_fields,nonce,order_reference,timestamp,transaction_type" }