Skip to content

Commit

Permalink
test: fix some http asserts (#272)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored Oct 7, 2020
1 parent a5ad48b commit 941af31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/MyTestSuiteHTTP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ testcases:
- result.body ShouldContainSubstring /dedicated/server
- result.body ShouldContainSubstring /ipLoadbalancing
- result.statuscode ShouldEqual 200
- result.bodyjson.apis.apis0.path ShouldEqual /analytics
- result.bodyjson.apis.apis0.path ShouldEqual /allDom

- name: POST http testcase
steps:
Expand Down Expand Up @@ -69,7 +69,7 @@ testcases:
skip_body: true
skip_headers: true
assertions:
- result.statuscode ShouldEqual 500
- result.statuscode ShouldEqual 405
- result.body ShouldBeEmpty
- result.headers ShouldBeEmpty

0 comments on commit 941af31

Please sign in to comment.