fix connectivity test

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2026-06-01 19:32:13 +02:00
parent cda9684db7
commit e531c650ad
+2 -4
View File
@@ -47,6 +47,7 @@ class TestProviderProxy(SeleniumTestCase):
for provider in outpost.providers.all():
provider.external_host = f"http://localhost{self.outpost_port}",
provider.save()
container.restart()
@retry()
@apply_blueprint(
@@ -238,7 +239,7 @@ class TestProviderProxyConnect(ChannelsE2ETestCase):
slug="default-provider-authorization-implicit-consent"
),
internal_host="http://localhost",
external_host=f"http://localhost{self.outpost_port}",
external_host="http://localhost:9000",
)
# Ensure OAuth2 Params are set
proxy.set_oauth_defaults()
@@ -256,9 +257,6 @@ class TestProviderProxyConnect(ChannelsE2ETestCase):
self.run_container(
image=self.get_container_image("ghcr.io/goauthentik/dev-proxy"),
ports={
"9000": "9000",
},
environment={
"AUTHENTIK_TOKEN": outpost.token.key,
},