diff --git a/.github/workflows/e2etest.yml b/.github/workflows/e2etest.yml index 3ac1146..057358b 100644 --- a/.github/workflows/e2etest.yml +++ b/.github/workflows/e2etest.yml @@ -1,6 +1,9 @@ name: 'Build & Test' -on: [push] +on: + push: + pull_request: + workflow_dispatch: # on: # # pull_request: diff --git a/test/private.read.test.ts b/test/private.read.test.ts index 14a20d5..8b3a090 100644 --- a/test/private.read.test.ts +++ b/test/private.read.test.ts @@ -167,7 +167,7 @@ describe('Private REST API Trade Endpoints (GET only)', () => { }); describe('Block Trading Endpoints', () => { - const errorCode = '70015'; + const errorCode = '70006'; // Block trading is only available for OKX users who have completed identity verification level 2 or above // const errorMatch = expect.stringMatching(/level 2 or above/gim); const errorMatch = expect.any(String);