From 3da3286e4cb44c84c84f2b44d2b41f977b0dfc19 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 9 Jan 2024 20:21:57 +0000 Subject: [PATCH] Add some debug pt 3 --- tests/src/Functional/Installer/ThunderInstallerTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/src/Functional/Installer/ThunderInstallerTest.php b/tests/src/Functional/Installer/ThunderInstallerTest.php index 6d3e5e755..ecd48f0a4 100644 --- a/tests/src/Functional/Installer/ThunderInstallerTest.php +++ b/tests/src/Functional/Installer/ThunderInstallerTest.php @@ -55,9 +55,11 @@ protected function setUpSite(): void { * Setup modules -> subroutine of test setUp process. */ protected function setUpModules(): void { + dump($this->getSession()->getCurrentUrl()); // @todo Add another test that tests interactive install of all optional // Thunder modules. $this->submitForm([], $this->translations['Save and continue']); + dump($this->getSession()->getCurrentUrl()); $this->isInstalled = TRUE; } @@ -67,8 +69,8 @@ protected function setUpModules(): void { public function testInstalled(): void { dump($this->getSession()->getResponseHeaders()); dump($this->getSession()->getPage()->getContent()); - $this->assertSession()->addressEquals('user/1'); $this->assertSession()->statusCodeEquals(200); + $this->assertSession()->addressEquals('user/1'); // Confirm that we are logged-in after installation. $this->assertSession()->pageTextContains($this->rootUser->getAccountName());