Skip to content

Commit 2ae43e1

Browse files
committed
Add changes for vagrant
1 parent d17442a commit 2ae43e1

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.env.dusk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ MAIL_FROM_NAME="Pterodactyl Panel"
2020
RECAPTCHA_ENABLED=false
2121

2222
DB_CONNECTION=testing
23-
TESTING_DB_HOST=services.pterodactyl.local
23+
TESTING_DB_HOST=192.168.1.202
2424
TESTING_DB_DATABASE=panel_test
2525
TESTING_DB_USERNAME=panel_test
2626
TESTING_DB_PASSWORD=Test1234

phpunit.dusk.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false">
11+
<testsuites>
12+
<testsuite name="Browser Test Suite">
13+
<directory suffix="Test.php">./tests/Browser</directory>
14+
</testsuite>
15+
</testsuites>
16+
<filter>
17+
<whitelist processUncoveredFilesFromWhitelist="true">
18+
<directory suffix=".php">./app</directory>
19+
</whitelist>
20+
</filter>
21+
</phpunit>

tests/Browser/BrowserTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function driver()
4545
]);
4646

4747
return RemoteWebDriver::create(
48-
'http://services.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability(
48+
'http://host.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability(
4949
ChromeOptions::CAPABILITY, $options
5050
)
5151
);

0 commit comments

Comments
 (0)