Skip to content

Commit a8cd0ae

Browse files
committed
fix tests
Signed-off-by: Stephanie <[email protected]>
1 parent 8a370ba commit a8cd0ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/endpoints/conversations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ async def delete_conversation_endpoint_handler(
371371
},
372372
)
373373

374-
user_id, _, _ = auth
374+
user_id, _, _, _ = auth
375375

376376
user_conversation = validate_conversation_ownership(
377377
user_id=user_id,

tests/unit/app/endpoints/test_conversations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from configuration import AppConfig
2222
from tests.unit.utils.auth_helpers import mock_authorization_resolvers
2323

24-
MOCK_AUTH = ("mock_user_id", "mock_username", "mock_token")
24+
MOCK_AUTH = ("mock_user_id", "mock_username", False, "mock_token")
2525
VALID_CONVERSATION_ID = "123e4567-e89b-12d3-a456-426614174000"
2626
INVALID_CONVERSATION_ID = "invalid-id"
2727

0 commit comments

Comments
 (0)