From 20b68c5252965af34f342ea1ce462eb4f2addba3 Mon Sep 17 00:00:00 2001 From: paurakhsharma Date: Mon, 13 May 2019 11:39:20 +0545 Subject: [PATCH] Add issue tag on scenario with invalid status code --- tests/acceptance/features/apiProvisioning-v2/getUser.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/acceptance/features/apiProvisioning-v2/getUser.feature b/tests/acceptance/features/apiProvisioning-v2/getUser.feature index 9fa22aa41ccb..7a02fe97c077 100644 --- a/tests/acceptance/features/apiProvisioning-v2/getUser.feature +++ b/tests/acceptance/features/apiProvisioning-v2/getUser.feature @@ -49,11 +49,13 @@ Feature: get user And the HTTP status code should be "401" And the API should not return any data + @issue-31276 Scenario: a normal user tries to get information of another user Given user "newuser" has been created with default attributes And user "anotheruser" has been created with default attributes When user "anotheruser" retrieves the information of user "newuser" using the provisioning API Then the OCS status code should be "997" + #And the OCS status code should be "401" And the HTTP status code should be "401" And the API should not return any data