diff --git a/authentik/core/tests/test_views_overview.py b/authentik/core/tests/test_views_overview.py index a756517b9..cd2a1c1a0 100644 --- a/authentik/core/tests/test_views_overview.py +++ b/authentik/core/tests/test_views_overview.py @@ -34,9 +34,3 @@ class TestOverviewViews(TestCase): self.assertEqual( self.client.get(reverse("authentik_core:overview")).status_code, 200 ) - - def test_user_settings(self): - """Test user settings""" - self.assertEqual( - self.client.get(reverse("authentik_core:user-settings")).status_code, 200 - ) diff --git a/tests/e2e/test_source_oauth.py b/tests/e2e/test_source_oauth.py index 9074cac2e..4281d041e 100644 --- a/tests/e2e/test_source_oauth.py +++ b/tests/e2e/test_source_oauth.py @@ -142,7 +142,7 @@ class TestSourceOAuth2(SeleniumTestCase): # Wait until we've logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) self.assertEqual( self.driver.find_element(By.ID, "id_username").get_attribute("value"), "foo" @@ -224,7 +224,7 @@ class TestSourceOAuth2(SeleniumTestCase): # Wait until we've logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) self.assertEqual( self.driver.find_element(By.ID, "id_username").get_attribute("value"), "foo" @@ -317,7 +317,7 @@ class TestSourceOAuth1(SeleniumTestCase): sleep(2) # Wait until we've logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) self.assertEqual( self.driver.find_element(By.ID, "id_username").get_attribute("value"), diff --git a/tests/e2e/test_source_saml.py b/tests/e2e/test_source_saml.py index 7852aa324..cd53d14ae 100644 --- a/tests/e2e/test_source_saml.py +++ b/tests/e2e/test_source_saml.py @@ -134,7 +134,7 @@ class TestSourceSAML(SeleniumTestCase): # Wait until we're logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) # Wait until we've loaded the user info page self.assertNotEqual( @@ -185,7 +185,7 @@ class TestSourceSAML(SeleniumTestCase): # Wait until we're logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) # Wait until we've loaded the user info page self.assertNotEqual( @@ -234,7 +234,7 @@ class TestSourceSAML(SeleniumTestCase): # Wait until we're logged in self.wait_for_url(self.shell_url("authentik_core:overview")) - self.driver.get(self.url("authentik_core:user-settings")) + self.driver.get(self.url("authentik_core:user-details")) # Wait until we've loaded the user info page self.assertNotEqual(