Skip to content

Commit

Permalink
Revert "test: add consumer e2e test (#735)" (#829)
Browse files Browse the repository at this point in the history
This reverts commit c140f41.
  • Loading branch information
juzhiyuan authored Nov 19, 2020
1 parent d6bdea4 commit f2ff23a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 247 deletions.
6 changes: 0 additions & 6 deletions api/test/e2e/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ type HttpTestCase struct {
ExpectCode int
ExpectMessage string
ExpectBody string
PartialBody string
ExpectHeaders map[string]string
Sleep time.Duration //ms
}
Expand Down Expand Up @@ -168,9 +167,4 @@ func testCaseCheck(tc HttpTestCase) {
resp.Body().Contains(tc.ExpectBody)
}

//Partial body
if tc.PartialBody != "" {
resp.Body().Contains(tc.PartialBody)
}

}
241 changes: 0 additions & 241 deletions api/test/e2e/consumer_test.go

This file was deleted.

0 comments on commit f2ff23a

Please sign in to comment.