mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 04:29:33 +02:00
Remove variable fields from tests
This commit is contained in:
parent
e066b1d246
commit
663214ee49
2 changed files with 1 additions and 2 deletions
|
@ -33,6 +33,6 @@ class NewInvoicePaymentTest < ActionDispatch::IntegrationTest
|
||||||
assert_equal('https://igw-demo.every-pay.com/transactions/', form['action'])
|
assert_equal('https://igw-demo.every-pay.com/transactions/', form['action'])
|
||||||
assert_equal('post', form['method'])
|
assert_equal('post', form['method'])
|
||||||
assert_equal(expected_hmac_fields, form.find_by_id('hmac_fields', visible: false).value)
|
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
|
||||||
end
|
end
|
||||||
|
|
|
@ -50,7 +50,6 @@ class EveryPayTest < ActiveSupport::TestCase
|
||||||
account_id: "EUR3D1",
|
account_id: "EUR3D1",
|
||||||
timestamp: "1522542600",
|
timestamp: "1522542600",
|
||||||
amount: "12.00",
|
amount: "12.00",
|
||||||
order_reference: "Order nr. 1",
|
|
||||||
transaction_type: "charge",
|
transaction_type: "charge",
|
||||||
hmac_fields: "account_id,amount,api_username,callback_url,customer_url,hmac_fields,nonce,order_reference,timestamp,transaction_type"
|
hmac_fields: "account_id,amount,api_username,callback_url,customer_url,hmac_fields,nonce,order_reference,timestamp,transaction_type"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue