Update REST response code for legacy REST path

Change-Id: Iaa91f67d9d6331f60401602a40ee79a53cf9fdc3
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_rest_interfaces.robot b/tests/test_rest_interfaces.robot
index 272d5ac..0801712 100644
--- a/tests/test_rest_interfaces.robot
+++ b/tests/test_rest_interfaces.robot
@@ -286,8 +286,8 @@
 
     # Expect status                 URL Path
     ${HTTP_METHOD_NOT_ALLOWED}      /
-    ${HTTP_METHOD_NOT_ALLOWED}      /xyz/
-    ${HTTP_METHOD_NOT_ALLOWED}      /xyz/i/dont/exist/
+    ${HTTP_NOT_FOUND}               /xyz/
+    ${HTTP_FORBIDDEN}               /xyz/i/dont/exist/
 
 
 Put Data Validation
@@ -308,7 +308,7 @@
 
     # Expect status                 URL Path
     ${HTTP_METHOD_NOT_ALLOWED}      /
-    ${HTTP_METHOD_NOT_ALLOWED}      /xyz/
+    ${HTTP_NOT_FOUND}               /xyz/
     ${HTTP_METHOD_NOT_ALLOWED}      /xyz/i/dont/exist/
     ${HTTP_METHOD_NOT_ALLOWED}      /xyz/login
 
@@ -321,7 +321,7 @@
 
     # Expect status                 URL Path
     ${HTTP_METHOD_NOT_ALLOWED}      /
-    ${HTTP_METHOD_NOT_ALLOWED}      /xyz/
+    ${HTTP_NOT_FOUND}               /xyz/
     ${HTTP_METHOD_NOT_ALLOWED}      /xyz/nothere/
     ${HTTP_METHOD_NOT_ALLOWED}      /xyz/openbmc_project/state/