rafiki
rafiki copied to clipboard
[Multi-Tenant] Fix feature branch tests for Open Payments Resources
A lot of tests were broken by the fact that several existing tables have added foreign key constraints on tenantId
, fix the tests for the models/services/routes for the Open Payments resources:
- [x] Fix tests on Incoming Payments (
/backend/src/open_payments/payment/incoming
) - [x] Fix tests on Remote Incoming Payments (
/backend/src/open_payments/payment/incoming_remote
) - [x] Fix tests on Quotes (
/backend/src/open_payments/quote
) - [x] Fix tests on Outgoing Payments (
/backend/src/open_payments/payment/outgoing
) - [x] Fix tests on Wallet Addresses (
/backend/src/open_payments/wallet_address
) - [x] Fix tests on Combined Payments (
/backend/src/open_payments/payment/combined
)