forked from Alex/Pterodactyl-Panel
Add changes for vagrant
This commit is contained in:
parent
d17442a096
commit
2ae43e1f61
@ -20,7 +20,7 @@ MAIL_FROM_NAME="Pterodactyl Panel"
|
|||||||
RECAPTCHA_ENABLED=false
|
RECAPTCHA_ENABLED=false
|
||||||
|
|
||||||
DB_CONNECTION=testing
|
DB_CONNECTION=testing
|
||||||
TESTING_DB_HOST=services.pterodactyl.local
|
TESTING_DB_HOST=192.168.1.202
|
||||||
TESTING_DB_DATABASE=panel_test
|
TESTING_DB_DATABASE=panel_test
|
||||||
TESTING_DB_USERNAME=panel_test
|
TESTING_DB_USERNAME=panel_test
|
||||||
TESTING_DB_PASSWORD=Test1234
|
TESTING_DB_PASSWORD=Test1234
|
||||||
|
21
phpunit.dusk.xml
Normal file
21
phpunit.dusk.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit backupGlobals="false"
|
||||||
|
backupStaticAttributes="false"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false"
|
||||||
|
stopOnFailure="false">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Browser Test Suite">
|
||||||
|
<directory suffix="Test.php">./tests/Browser</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
@ -45,7 +45,7 @@ abstract class BrowserTestCase extends TestCase
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
return RemoteWebDriver::create(
|
return RemoteWebDriver::create(
|
||||||
'http://services.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability(
|
'http://host.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability(
|
||||||
ChromeOptions::CAPABILITY, $options
|
ChromeOptions::CAPABILITY, $options
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user