File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/web/server/tests/unit/with_dbs/01 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ async def test_create_api_key(
112112 resp = await client .post (
113113 "/v0/auth/api-keys" ,
114114 json = {"displayName" : display_name },
115- headers = {"X-Forwarded-Host" : "osparc.io" },
115+ headers = {"X-Forwarded-Proto" : "https" , "X-Forwarded- Host" : "osparc.io" },
116116 )
117117
118118 data , errors = await assert_status (resp , expected )
@@ -122,7 +122,7 @@ async def test_create_api_key(
122122 assert "apiKey" in data
123123 assert "apiSecret" in data
124124 assert "apiBaseUrl" in data
125- assert data ["apiBaseUrl" ] == "http ://api.osparc.io/"
125+ assert data ["apiBaseUrl" ] == "https ://api.osparc.io/"
126126
127127 resp = await client .get ("/v0/auth/api-keys" )
128128 data , _ = await assert_status (resp , expected )
You can’t perform that action at this time.
0 commit comments