diff --git a/composer.json b/composer.json index 352b84b..8523106 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "illuminate/database": "^11.0" }, "require-dev": { + "barryvdh/laravel-ide-helper": "^3.0", "orchestra/testbench": "^9.0", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^10.5" diff --git a/tests/IdeHelper/BelongsToThroughRelationsHookTest.php b/tests/IdeHelper/BelongsToThroughRelationsHookTest.php index e96acce..31e6bce 100644 --- a/tests/IdeHelper/BelongsToThroughRelationsHookTest.php +++ b/tests/IdeHelper/BelongsToThroughRelationsHookTest.php @@ -18,8 +18,6 @@ protected function setUp(): void { parent::setUp(); - $this->markTestSkipped(); // TODO[L11] - $db = new DB(); $db->addConnection([ 'driver' => 'sqlite', diff --git a/tests/IdeHelperServiceProviderTest.php b/tests/IdeHelperServiceProviderTest.php index 56137da..87d162c 100644 --- a/tests/IdeHelperServiceProviderTest.php +++ b/tests/IdeHelperServiceProviderTest.php @@ -11,8 +11,6 @@ class IdeHelperServiceProviderTest extends TestCase { public function testAutoRegistrationOfModelHook(): void { - $this->markTestSkipped(); // TODO[L11] - $this->app->loadDeferredProvider(BarryvdhIdeHelperServiceProvider::class); $this->app->loadDeferredProvider(IdeHelperServiceProvider::class); @@ -28,7 +26,7 @@ public function testAutoRegistrationOfModelHook(): void protected function getPackageProviders($app): array { return [ - // TODO[L11] BarryvdhIdeHelperServiceProvider::class, + BarryvdhIdeHelperServiceProvider::class, IdeHelperServiceProvider::class, ]; }