feat(payment): Add migration (#6509)

This commit is contained in:
Oli Juhl
2024-02-27 19:05:52 +01:00
committed by GitHub
parent b3d826497b
commit 70aeb602c9
8 changed files with 390 additions and 65 deletions
@@ -141,6 +141,7 @@ moduleIntegrationTestRunner({
])
.catch((e) => e)
// TODO: Change error thrown by Mikro for BigNumber fields
expect(error.message).toContain(
"Value for PaymentCollection.amount is required, 'undefined' found"
)
@@ -462,6 +463,8 @@ moduleIntegrationTestRunner({
}),
payment_session: {
id: expect.any(String),
updated_at: expect.any(Date),
created_at: expect.any(Date),
currency_code: "usd",
amount: 100,
raw_amount: { value: "100", precision: 20 },