File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Feature: Authorized endpoint API tests for the noop-with-token authentication mo
1111 """
1212 {"placeholder":"abc"}
1313 """
14- Then The status code of the response is 400
14+ Then The status code of the response is 401
1515 And The body of the response is the following
1616 """
1717 {"detail": "No Authorization header found"}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Feature: conversations endpoint API tests
3434 And I store conversation details
3535 And I remove the auth header
3636 When I access REST API endpoint "conversations" using HTTP GET method
37- Then The status code of the response is 400
37+ Then The status code of the response is 401
3838 And The body of the response is the following
3939 """
4040 {
@@ -100,7 +100,7 @@ Feature: conversations endpoint API tests
100100 And I store conversation details
101101 And I remove the auth header
102102 When I use REST API conversation endpoint with conversation_id from above using HTTP GET method
103- Then The status code of the response is 400
103+ Then The status code of the response is 401
104104 And The body of the response is the following
105105 """
106106 {
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ Feature: feedback endpoint API tests
256256 "user_question": "Sample Question"
257257 }
258258 """
259- Then The status code of the response is 400
259+ Then The status code of the response is 401
260260 And The body of the response is the following
261261 """
262262 {
@@ -271,7 +271,7 @@ Feature: feedback endpoint API tests
271271 Given The system is in default state
272272 And I remove the auth header
273273 When The feedback is enabled
274- Then The status code of the response is 400
274+ Then The status code of the response is 401
275275 And The body of the response is the following
276276 """
277277 {
You can’t perform that action at this time.
0 commit comments