Skip to content
Snippets Groups Projects
Commit 476b652c authored by Alex Ellis (VMware)'s avatar Alex Ellis (VMware) Committed by Alex Ellis
Browse files

Update integration test


We now send Accepted not OK for creating functions.

Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
parent 62525f65
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ func TestCreate_ValidRequest(t *testing.T) {
t.Fail()
}
expectedErrorCode := http.StatusOK
expectedErrorCode := http.StatusAccepted
if code != expectedErrorCode {
t.Errorf("Got HTTP code: %d, want %d\n", code, expectedErrorCode)
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment