File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ use Tests\Mocks\Model\Book\Book;
1919use Tests \Mocks \Model \Book \BookRepository ;
2020use Tests \Mocks \Model \User \User ;
2121
22+ require_once __DIR__ . '/../../bootstrap.php ' ;
23+
24+ // nextras/orm 5.0.x is not yet compatible with PHP 8.5 (null array offset in AbstractEntity)
25+ if (PHP_VERSION_ID >= 80500 ) {
26+ Environment::skip ('nextras/orm is not yet compatible with PHP 8.5 ' );
27+ }
28+
2229$ container = require_once __DIR__ . '/../../bootstrap.container.php ' ;
2330
2431/** @var IConnection $connection */
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ Toolkit::test(static function (): void {
3737 // Using reflection to verify connection was stored
3838 $ reflection = new ReflectionClass ($ repo );
3939 $ property = $ reflection ->getProperty ('connection ' );
40- $ property ->setAccessible (true );
4140
4241 Assert::same ($ connection , $ property ->getValue ($ repo ));
4342
You can’t perform that action at this time.
0 commit comments