diff --git a/.travis.yml b/.travis.yml index 3a1acd0..3eb7866 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 env: global: diff --git a/composer.json b/composer.json index f31926a..ebbfdaf 100644 --- a/composer.json +++ b/composer.json @@ -43,9 +43,9 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^1.11", "mockery/mockery": "^0.9.8", - "orchestra/database": "~3.4.0", - "orchestra/testbench": "~3.4.0", - "phpunit/phpunit": "^5.7" + "orchestra/database": "~3.4.0|~3.5.0", + "orchestra/testbench": "~3.4.0|~3.5.0", + "phpunit/phpunit": "^5.7|^6.0" }, "autoload": { "psr-4": { diff --git a/tests/TestCase.php b/tests/TestCase.php index 9e38afc..e9159e9 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -66,7 +66,10 @@ protected function getPackageProviders($app) */ protected function publishPackageMigrations() { - $this->artisan('vendor:publish', ['--force' => '']); + $this->artisan('vendor:publish', [ + '--force' => '', + '--tag' => 'migrations', + ]); } /** @@ -74,7 +77,7 @@ protected function publishPackageMigrations() */ protected function destroyPackageMigrations() { - File::cleanDirectory('vendor/orchestra/testbench-core/fixture/database/migrations'); + File::cleanDirectory('vendor/orchestra/testbench-core/laravel/database/migrations'); } /**