Skip to content

Commit

Permalink
Fix regression in the browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jan 27, 2024
1 parent 8c83518 commit 343561b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Browser/Components/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function gotoAction($browser, $task = 'mail', $action = null, $login = tr
$browser->visit("?_task={$task}&_action={$action}");

// check if we have a valid session
if ($login && $browser->getEnv($browser, 'task') == 'login') {
if ($login && $browser->getEnv('task') == 'login') {
$this->doLogin($browser);
}
}
Expand Down

0 comments on commit 343561b

Please sign in to comment.