From 29ab107edf4dfa6aaf7752f004c2d563afc5e62f Mon Sep 17 00:00:00 2001 From: Chandrapal Badshah <12944530+Chan9390@users.noreply.github.com> Date: Thu, 9 Oct 2025 11:56:40 +0530 Subject: [PATCH] fix: update lighthouse test cases --- api/src/backend/api/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/backend/api/tests/test_views.py b/api/src/backend/api/tests/test_views.py index 65bcb7027c..8656f5d318 100644 --- a/api/src/backend/api/tests/test_views.py +++ b/api/src/backend/api/tests/test_views.py @@ -8721,7 +8721,7 @@ class TestLighthouseProviderConfigViewSet: [ {}, # empty credentials {"token": "sk-testT3BlbkFJkey"}, # wrong key name - {"api_key": "sk-invalid-format"}, # wrong format + {"api_key": "ks-invalid-format"}, # wrong format ], ) def test_openai_invalid_credentials(self, authenticated_client, credentials): @@ -8862,7 +8862,7 @@ class TestLighthouseProviderConfigViewSet: "type": "lighthouse-providers", "id": provider_id, "attributes": { - "credentials": {"api_key": "sk-invalid"}, + "credentials": {"api_key": "ks-invalid-format"}, }, } }