diff --git a/apps/opsproof/overlay/tests/feature/authentication_test.go b/apps/opsproof/overlay/tests/feature/authentication_test.go index 1ac086d..3068b5b 100644 --- a/apps/opsproof/overlay/tests/feature/authentication_test.go +++ b/apps/opsproof/overlay/tests/feature/authentication_test.go @@ -25,7 +25,7 @@ func TestDexLoginRequiresAnAllowedVerifiedOperator(t *testing.T) { Email: "operator@example.test", EmailVerified: true, }) - allowed.WithoutRedirects().Get("/auth/dex/callback").AssertRedirect("/") + allowed.WithoutRedirects().Get("/auth/dex/callback").AssertRedirect("http://example.com/incidents/cluster/n8n") allowed.Get("/").AssertOK().AssertInertia("Welcome").AssertProp("operator.authenticated", true) } diff --git a/tests/jeannie/test_privacy_services_pipeline.py b/tests/jeannie/test_privacy_services_pipeline.py index 363c4d5..ad1927a 100644 --- a/tests/jeannie/test_privacy_services_pipeline.py +++ b/tests/jeannie/test_privacy_services_pipeline.py @@ -150,6 +150,7 @@ class OpsProofPipelineTests(unittest.TestCase): ROOT / "apps/opsproof/overlay/tests/feature/authentication_test.go" ).read_text(encoding="utf-8") self.assertIn('t.Setenv("OPSPROOF_OPERATOR_EMAILS"', auth_test) + self.assertIn('AssertRedirect("http://example.com/incidents/cluster/n8n")', auth_test) routes = (ROOT / "apps/opsproof/overlay/routes/web.go").read_text( encoding="utf-8"