From 9a6fa663b6e713f0ec6417b2a70953d235055143 Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Sun, 17 Nov 2024 01:12:08 -0500 Subject: [PATCH] wip --- tests/Autoload/CommandTest.php | 4 ++++ tests/Autoload/IgnoreTest.php | 8 ++++++++ tests/Autoload/ProviderTest.php | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/tests/Autoload/CommandTest.php b/tests/Autoload/CommandTest.php index a03ff7c..3d74782 100644 --- a/tests/Autoload/CommandTest.php +++ b/tests/Autoload/CommandTest.php @@ -24,6 +24,10 @@ 'Tests', 'Database/Migrations', ]); + + foreach ($this->commands as $command) { + expect(class_exists($command))->toBeTrue("{$command} class does not exist"); + } }); afterEach(function () { diff --git a/tests/Autoload/IgnoreTest.php b/tests/Autoload/IgnoreTest.php index d3f733f..f73b508 100644 --- a/tests/Autoload/IgnoreTest.php +++ b/tests/Autoload/IgnoreTest.php @@ -47,6 +47,14 @@ 'Tests', 'Database/Migrations', ]); + + foreach ($this->providers as $provider) { + expect(class_exists($provider))->toBeTrue("{$provider} class does not exist"); + } + + foreach ($this->commands as $command) { + expect(class_exists($command))->toBeTrue("{$command} class does not exist"); + } }); afterEach(function () { diff --git a/tests/Autoload/ProviderTest.php b/tests/Autoload/ProviderTest.php index c59dbdd..88d6359 100644 --- a/tests/Autoload/ProviderTest.php +++ b/tests/Autoload/ProviderTest.php @@ -24,6 +24,10 @@ 'Tests', 'Database/Migrations', ]); + + foreach ($this->providers as $provider) { + expect(class_exists($provider))->toBeTrue("{$provider} class does not exist"); + } }); afterEach(function () {