Laravel 9.0 support
Tried just updating composer.json and it seems to work fine, but fails one test:
PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
Runtime: PHP 8.1.0
Configuration: /Users/mike/eventually/phpunit.xml.dist
...........F
Time: 00:00.554, Memory: 28.00 MB
There was 1 failure:
1) Altek\Eventually\Tests\Integration\BelongsToMany\DetachTest::itSuccessfullyDetachesModels with data set #0 (2, null, array('articles', array(array(1, '1'), array(1, '2'))))
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
2 => Array &1 (
0 => Array &2 (
'user_id' => 1
- 'article_id' => '1'
+ 'article_id' => 1
)
1 => Array &3 (
'user_id' => 1
- 'article_id' => '2'
+ 'article_id' => 2
)
)
)
/Users/mike/eventually/tests/Integration/BelongsToMany/DetachTest.php:133
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/EventFake.php:175
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:717
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:358
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/EventFake.php:176
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/EventFake.php:101
/Users/mike/eventually/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/Users/mike/eventually/tests/Integration/BelongsToMany/DetachTest.php:138
FAILURES!
Tests: 12, Assertions: 92, Failures: 1.