diff --git a/.env.example b/.env.example index 9061ffc8d13b..20c977c663e9 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,6 @@ APP_ENV=production APP_DEBUG=false -APP_URL=http://127.0.0.1 +APP_URL=http://ninja.dev APP_CIPHER=rijndael-128 APP_KEY=SomeRandomString diff --git a/.travis.yml b/.travis.yml index be95a1a04d70..4bdcc265fb53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ php: addons: hosts: - - localhost + - ninja.dev cache: directories: @@ -51,13 +51,13 @@ before_script: - php artisan db:seed --no-interaction # default seed - php artisan db:seed --no-interaction --class=UserTableSeeder # development seed # Start webserver on ninja.dev:8000 - - php artisan serve --host=localhost --port=8000 & # '&' allows to run in background + - php artisan serve --host=ninja.dev --port=8000 & # '&' allows to run in background # Start PhantomJS - phantomjs --webdriver=4444 & # '&' allows to run in background # Give it some time to start - sleep 5 # Make sure the app is up-to-date - - curl -L http://localhost:8000/update + - curl -L http://ninja.dev:8000/update script: - php ./vendor/codeception/codeception/codecept run --html --debug diff --git a/tests/_bootstrap.php.default b/tests/_bootstrap.php.default index b27f5f611237..19fc7eba0df7 100644 --- a/tests/_bootstrap.php.default +++ b/tests/_bootstrap.php.default @@ -2,7 +2,7 @@ // This is global bootstrap for autoloading use Codeception\Util\Fixtures; -Fixtures::add('url', 'http://127.0.0.1:8000'); +Fixtures::add('url', 'http://ninja.dev:8000'); Fixtures::add('username', 'user@example.com'); Fixtures::add('password', 'password'); diff --git a/tests/acceptance.suite.yml b/tests/acceptance.suite.yml index 8b830869aab3..4a152dce6eff 100644 --- a/tests/acceptance.suite.yml +++ b/tests/acceptance.suite.yml @@ -8,7 +8,7 @@ class_name: AcceptanceTester modules: enabled: - WebDriver: - url: 'http://127.0.0.1:8000' + url: 'http://ninja.dev:8000' host: 127.0.0.1 window_size: 1024x768 wait: 5