mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Merge pull request #1450 from internetee/1415-improve-bank-proceeeds-autocheck
Add autocheck by reference number in field or in description
This commit is contained in:
commit
704c331f03
5 changed files with 30 additions and 22 deletions
|
@ -28,7 +28,7 @@ class PaymentCallbackTest < ApplicationIntegrationTest
|
|||
|
||||
def assert_matching_bank_transaction_exists(invoice)
|
||||
assert BankTransaction.find_by(
|
||||
description: invoice.order,
|
||||
description: invoice.description,
|
||||
currency: invoice.currency,
|
||||
iban: invoice.seller_iban
|
||||
), 'Matching bank transaction should exist'
|
||||
|
@ -56,4 +56,4 @@ class PaymentCallbackTest < ApplicationIntegrationTest
|
|||
payment_method: "every_pay"
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue