diff --git a/.travis.yml b/.travis.yml index be461104..fbd23380 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,11 +10,12 @@ php: - 7.2 env: - - TESTBENCH_VERSION="3.6.*" PHPUNIT_VERSION="7.0.*" # Laravel 5.6 + - TESTBENCH_VERSION="3.6.*" # Laravel 5.6 + - TESTBENCH_VERSION="3.7.*" # Laravel 5.7 install: - travis_retry composer self-update - - travis_retry composer require orchestra/testbench:${TESTBENCH_VERSION} phpunit/phpunit:${PHPUNIT_VERSION} + - travis_retry composer require orchestra/testbench:${TESTBENCH_VERSION} - travis_retry composer install --no-interaction script: diff --git a/README.md b/README.md index 9fb11a76..0161b57f 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ An on-the-fly GraphQL Schema generator from Eloquent models for Laravel. | 5.4.x | 1.0.x | | 5.5.x | 1.0.x | | 5.6.x | 2.0.x | +| 5.7.x | 2.1.x | ## Installation diff --git a/composer.json b/composer.json index 4e676b62..9dc17915 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,12 @@ ], "require": { "php": ">=7.1.0", - "illuminate/support": "5.6.*", + "illuminate/support": "5.6.*|5.7.*", "webonyx/graphql-php": "^0.12.0", "ext-json": "*" }, "require-dev": { - "orchestra/database": "^3.4", - "orchestra/testbench": "^3.4", + "orchestra/testbench": "~3.0", "phpunit/phpunit": "^7.1" }, "autoload": { diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php index 5ac4a2e3..290e0077 100644 --- a/tests/IntegrationTest.php +++ b/tests/IntegrationTest.php @@ -7,7 +7,6 @@ use Bakery\BakeryServiceProvider; use Illuminate\Support\Facades\Hash; use Illuminate\Contracts\Auth\Access\Gate; -use Orchestra\Database\ConsoleServiceProvider; use Bakery\Tests\Fixtures\IntegrationTestSchema; use Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase; @@ -60,7 +59,6 @@ protected function setUp() protected function getPackageProviders($app) { return [ - ConsoleServiceProvider::class, BakeryServiceProvider::class, ]; }