Skip to content

Commit

Permalink
fix(core-webhooks): require all properties in schema and handle 404 r…
Browse files Browse the repository at this point in the history
…esources (#2634)
  • Loading branch information
faustbrian authored May 30, 2019
1 parent ac57453 commit a832610
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 293 deletions.
54 changes: 18 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-forger/ --coverageDirectory
.coverage/integration/core-forger
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -778,12 +772,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-forger/ --coverageDirectory
.coverage/integration/core-forger
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -899,12 +887,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-forger/ --coverageDirectory
.coverage/integration/core-forger
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -1566,6 +1548,12 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: core-p2p - integration
command: >-
Expand All @@ -1590,12 +1578,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-vote-report/ --coverageDirectory
.coverage/integration/core-vote-report
- run:
name: core-webhooks - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-webhooks/ --coverageDirectory
.coverage/integration/core-webhooks
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -1687,6 +1669,12 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: core-p2p - integration
command: >-
Expand All @@ -1711,12 +1699,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-vote-report/ --coverageDirectory
.coverage/integration/core-vote-report
- run:
name: core-webhooks - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-webhooks/ --coverageDirectory
.coverage/integration/core-webhooks
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -1808,6 +1790,12 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: core-p2p - integration
command: >-
Expand All @@ -1832,12 +1820,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-vote-report/ --coverageDirectory
.coverage/integration/core-vote-report
- run:
name: core-webhooks - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-webhooks/ --coverageDirectory
.coverage/integration/core-webhooks
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down
26 changes: 0 additions & 26 deletions __tests__/integration/core-webhooks/__support__/setup.ts

This file was deleted.

51 changes: 0 additions & 51 deletions __tests__/integration/core-webhooks/__support__/utils.ts

This file was deleted.

106 changes: 0 additions & 106 deletions __tests__/integration/core-webhooks/server.test.ts

This file was deleted.

Loading

0 comments on commit a832610

Please sign in to comment.