diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-09-09 17:54:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-09 17:54:10 +0000 |
commit | bca6932e54ff0495947d8a4f1862339a69d386f8 (patch) | |
tree | f8f26a5ec72e1fc30c37a2a4320efb81750bda94 /src/orchestrator/api/projecthandler_test.go | |
parent | ce8b729d7fe0c1b0589dff43710a26cf46e5fa52 (diff) | |
parent | a512a6d07e844f8e1d24608a0f1e4265bb85d341 (diff) |
Merge "GET project Returns 404 instead of 500"
Diffstat (limited to 'src/orchestrator/api/projecthandler_test.go')
-rw-r--r-- | src/orchestrator/api/projecthandler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orchestrator/api/projecthandler_test.go b/src/orchestrator/api/projecthandler_test.go index 6810099f..ef5fdf07 100644 --- a/src/orchestrator/api/projecthandler_test.go +++ b/src/orchestrator/api/projecthandler_test.go @@ -273,7 +273,7 @@ func TestProjectGetHandler(t *testing.T) { }, { label: "Get Non-Exiting Project", - expectedCode: http.StatusInternalServerError, + expectedCode: http.StatusNotFound, name: "nonexistingproject", projectClient: &mockProjectManager{ Items: []moduleLib.Project{}, |