Fix on local for now
This commit is contained in:
parent
ff73db3829
commit
381c777834
1 changed files with 8 additions and 2 deletions
|
@ -43,8 +43,14 @@ class MainTest extends DuskTestCase
|
||||||
if (str_contains($panelUrl, ':')) {
|
if (str_contains($panelUrl, ':')) {
|
||||||
[$panelDomain, $panelPort] = explode(':', $panelUrl, 2);
|
[$panelDomain, $panelPort] = explode(':', $panelUrl, 2);
|
||||||
}
|
}
|
||||||
$panelPort ??= '80';
|
|
||||||
$panelPort = intval($panelPort) + 1;
|
// Default to HTTP if not specified
|
||||||
|
$panelPort = intval($panelPort ?? 80);
|
||||||
|
|
||||||
|
// For CI, use next port
|
||||||
|
if ($panelPort !== 80) {
|
||||||
|
++$panelPort;
|
||||||
|
}
|
||||||
|
|
||||||
// Test Failed Login
|
// Test Failed Login
|
||||||
$browser->visit('/auth/login');
|
$browser->visit('/auth/login');
|
||||||
|
|
Loading…
Reference in a new issue