mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +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('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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue