File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ Feature: feedback endpoint API tests
108108 And The body of the response is the following
109109 """
110110 {
111- "detail": "Forbidden: User is not authorized to access this resource "
111+ "detail": "Forbidden: Feedback is disabled "
112112 }
113113 """
114114
@@ -246,7 +246,6 @@ Feature: feedback endpoint API tests
246246 Scenario : Check if feedback endpoint is not working when not authorized
247247 Given The system is in default state
248248 And A new conversation is initialized
249- And I remove the auth header
250249 When I submit the following feedback for the conversation created before
251250 """
252251 {
@@ -260,10 +259,7 @@ Feature: feedback endpoint API tests
260259 And The body of the response is the following
261260 """
262261 {
263- "detail": {
264- "cause": "Missing or invalid credentials provided by client",
265- "response": "Unauthorized"
266- }
262+ "detail": "No Authorization header found"
267263 }
268264 """
269265
@@ -275,10 +271,7 @@ Feature: feedback endpoint API tests
275271 And The body of the response is the following
276272 """
277273 {
278- "detail": {
279- "cause": "Missing or invalid credentials provided by client",
280- "response": "Unauthorized"
281- }
274+ "detail": "No Authorization header found"
282275 }
283276 """
284277
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ Feature: Query endpoint API tests
6060 """
6161
6262 Scenario : Check if LLM responds to sent question with error when authenticated with invalid token
63- Given The service is started locally
64- And REST API service prefix is /v1
6563 Given The system is in default state
6664 And I set the Authorization header to Bearer invalid
6765 When I use "query" to ask question with authorization header
@@ -75,8 +73,6 @@ Feature: Query endpoint API tests
7573 """
7674
7775 Scenario : Check if LLM responds to sent question with error when model does not exist
78- Given The service is started locally
79- And REST API service prefix is /v1
8076 Given The system is in default state
8177 And I set the Authorization header to Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Ikpva
8278 When I use "query" to ask question with authorization header
@@ -88,8 +84,6 @@ Feature: Query endpoint API tests
8884
8985
9086 Scenario : Check if LLM responds to sent question with error when attempting to access conversation
91- Given The service is started locally
92- And REST API service prefix is /v1
9387 Given The system is in default state
9488 And I set the Authorization header to Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Ikpva
9589 When I use "query" to ask question with authorization header
You can’t perform that action at this time.
0 commit comments