diff options
author | Wolfy-J <[email protected]> | 2018-06-13 20:49:26 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 20:49:26 +0300 |
commit | fba45ff53a51bf173471e6d046fc46f0cbaf89e3 (patch) | |
tree | 0855eda2eb334d4d4f26157438649e0f58151f9d /service/http/handler_test.go | |
parent | 87fff670cc5a446f4c396c30d330ce7958e9f40f (diff) |
http service test + status test
Diffstat (limited to 'service/http/handler_test.go')
-rw-r--r-- | service/http/handler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/handler_test.go b/service/http/handler_test.go index 0e236df0..98379117 100644 --- a/service/http/handler_test.go +++ b/service/http/handler_test.go @@ -58,7 +58,7 @@ func TestServer_Echo(t *testing.T) { body, r, err := get("http://localhost:8077/?hello=world") assert.NoError(t, err) - assert.Equal(t, 200, r.StatusCode) + assert.Equal(t, 201, r.StatusCode) assert.Equal(t, "WORLD", body) } |