Skip to content

Commit

Permalink
Add some debug pt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpott committed Jan 9, 2024
1 parent cbd3ad3 commit 3da3286
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/Functional/Installer/ThunderInstallerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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());

Expand Down

0 comments on commit 3da3286

Please sign in to comment.