Skip to content

Commit

Permalink
add missing dummy test env val
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Nov 30, 2024
1 parent 38d908e commit 87465ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,11 @@ def source_api_server(source_api):
@pytest.fixture
def proxy_app(source_api_server: str) -> FastAPI:
"""Fixture for the proxy app, pointing to the source API."""
test_app_settings = Settings(upstream_url=source_api_server, default_public=False)
test_app_settings = Settings(
upstream_url=source_api_server,
oidc_discovery_url="https://samples.auth0.com/.well-known/openid-configuration",
default_public=False,
_env_file=".env.test",
)
print(f"{test_app_settings=}")
return create_app(test_app_settings)

0 comments on commit 87465ce

Please sign in to comment.