From 1535a85d3fc4ff6898ba46fb9bb977f409d5c85b Mon Sep 17 00:00:00 2001 From: Raphael Flechtner Date: Mon, 21 Aug 2023 11:59:59 -0400 Subject: [PATCH] test: bump runtime version in integration test switch condition --- tests/integration/ErrorHandler.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/ErrorHandler.spec.ts b/tests/integration/ErrorHandler.spec.ts index 611179e15e..26f7a6e9ea 100644 --- a/tests/integration/ErrorHandler.spec.ts +++ b/tests/integration/ErrorHandler.spec.ts @@ -46,7 +46,7 @@ beforeAll(async () => { it('records an extrinsic error when transferring less than the existential amount to new identity', async () => { const transferTx = api.tx.balances.transfer(addressFromRandom(), 1) const promise = submitTx(transferTx, paymentAccount) - if (api.runtimeVersion.specVersion.toBigInt() > 11_000n) { + if (api.runtimeVersion.specVersion.toBigInt() >= 11_200n) { await expect(promise).rejects.toMatchInlineSnapshot(` { "token": "BelowMinimum",