mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 12:16:47 +00:00
Update integration test
We now send Accepted not OK for creating functions. Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
parent
62525f6570
commit
476b652c26
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user