diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9dd874..2a5e2fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,13 +8,19 @@ jobs: strategy: matrix: - php: [7.3, 7.4, 8.0, 8.1] - illuminate: [^8.0, ^9.0] + php: [7.3, 7.4, 8.0, 8.1, 8.2] + illuminate: [^8.0, ^9.0, ^10.0] exclude: - php: 7.3 illuminate: ^9.0 - php: 7.4 illuminate: ^9.0 + - php: 7.3 + illuminate: ^10.0 + - php: 7.4 + illuminate: ^10.0 + - php: 8.0 + illuminate: ^10.0 name: PHP ${{ matrix.php }} & Illuminate ${{ matrix.illuminate }} diff --git a/.gitignore b/.gitignore index b36b28e..47e30b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ vendor .idea composer.lock +.phpunit.cache/ .phpunit.result.cache diff --git a/composer.json b/composer.json index 224955d..de82e26 100644 --- a/composer.json +++ b/composer.json @@ -10,12 +10,12 @@ } ], "require": { - "illuminate/database": "^8.0|^9.0", - "vinkla/hashids": "^9.0|^10.0" + "illuminate/database": "^8.0|^9.0|^10.0", + "vinkla/hashids": "^9.0|^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^6.0|^7.0", - "phpunit/phpunit": "^8.4|^9.0", + "orchestra/testbench": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^8.4|^9.0|^10.0", "laravel/legacy-factories": "^1.0" }, "autoload": { diff --git a/phpunit.xml b/phpunit.xml index 3f44cd1..839b2f6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,25 +1,20 @@ - - - - tests/ - tests/database/factories/ - - - - - - - - - - - \ No newline at end of file + + + + tests/ + tests/database/ + tests/Models/ + tests/config/ + tests/TestCase.php + + + + + + + + + + + diff --git a/tests/TestCase.php b/tests/TestCase.php index 06c528b..95bac56 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -5,7 +5,7 @@ use Orchestra\Testbench\TestCase as Orchestra; use Vinkla\Hashids\HashidsServiceProvider; -abstract class TestCase extends Orchestra +class TestCase extends Orchestra { protected function setUp(): void {