diff options
author | Aditya Sharoff <aditya.sharoff@intel.com> | 2020-08-26 10:21:34 -0700 |
---|---|---|
committer | Aditya Sharoff <aditya.sharoff@intel.com> | 2020-09-04 16:10:14 -0700 |
commit | a512a6d07e844f8e1d24608a0f1e4265bb85d341 (patch) | |
tree | c207d6806ec317a20086349bc6475b3e3831d423 /src/orchestrator/api/projecthandler_test.go | |
parent | a330e54f63ecadf3b9332e9504cb51f843a2d853 (diff) |
GET project Returns 404 instead of 500
Issue-ID: MULTICLOUD-1148
Signed-off-by: Aditya Sharoff <aditya.sharoff@intel.com>
Change-Id: I482cb8ff06ebf945020c5fc185479d9911aa946a
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{}, |