diff --git a/api-tests/status_test.go b/api-tests/status_test.go new file mode 100644 index 0000000..800325e --- /dev/null +++ b/api-tests/status_test.go @@ -0,0 +1,17 @@ +package api_tests + +import ( + "fmt" + "github.com/stretchr/testify/assert" + "testing" +) + +func TestStatus(t *testing.T) { + s := assert.New(t) + for i := 200; i <= 599; i++ { + resp, _ := ExecRequest(R{ + Path: fmt.Sprintf("status/%d", i), + }) + s.Equal(i, resp.StatusCode) + } +}