mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 19:02:31 +00:00
fix(oci): point the Authentik summary to the first-run setup
akadmin has no password until it is created in the setup wizard, which opens from the root address. The summary now says so instead of reporting a password that could not be retrieved.
This commit is contained in:
@@ -153,12 +153,13 @@ class AuthentikRecipeTests(unittest.TestCase):
|
||||
self.assertNotIn("frontend", services["postgresql"])
|
||||
|
||||
def test_first_run_discloses_the_initial_admin_setup_without_faking_a_password(self):
|
||||
# akadmin has no password until it is created in the setup wizard,
|
||||
# which opens from the root address.
|
||||
first_run = self.curated["first_run"]
|
||||
self.assertEqual(first_run["endpoints"][0]["port"], 9000)
|
||||
credential = first_run["credentials"][0]
|
||||
self.assertEqual(credential["username"], "akadmin")
|
||||
self.assertIsNone(credential["password"])
|
||||
self.assertTrue(credential["change_required"])
|
||||
self.assertEqual(first_run["endpoints"][0]["path"], "/")
|
||||
self.assertEqual(first_run["credentials"], [])
|
||||
self.assertIn("akadmin", self.curated["proxmox"]["stack_completion_notes"][0])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user