From 7e63a18d37d932e88bca47b180474cef26ed78c8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 1 Apr 2021 20:05:50 +0200 Subject: [PATCH] providers/saml: fix unittests Signed-off-by: Jens Langhammer --- authentik/providers/saml/tests/test_api.py | 4 ++-- web/src/pages/providers/saml/SAMLProviderViewPage.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/authentik/providers/saml/tests/test_api.py b/authentik/providers/saml/tests/test_api.py index 6e156d20a..3e34edacc 100644 --- a/authentik/providers/saml/tests/test_api.py +++ b/authentik/providers/saml/tests/test_api.py @@ -76,7 +76,7 @@ class TestSAMLProviderAPI(APITestCase): designation=FlowDesignation.AUTHORIZATION ) .first() - .pk, + .slug, }, format="multipart", ) @@ -97,7 +97,7 @@ class TestSAMLProviderAPI(APITestCase): designation=FlowDesignation.AUTHORIZATION ) .first() - .pk, + .slug, }, format="multipart", ) diff --git a/web/src/pages/providers/saml/SAMLProviderViewPage.ts b/web/src/pages/providers/saml/SAMLProviderViewPage.ts index 09f64f808..ba5d10798 100644 --- a/web/src/pages/providers/saml/SAMLProviderViewPage.ts +++ b/web/src/pages/providers/saml/SAMLProviderViewPage.ts @@ -174,8 +174,7 @@ export class SAMLProviderViewPage extends Page { - ` : html``} - + ` : html``} `; } }