Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey committed Nov 17, 2024
1 parent c55e2ca commit 9a6fa66
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Autoload/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
'Tests',
'Database/Migrations',
]);

foreach ($this->commands as $command) {
expect(class_exists($command))->toBeTrue("{$command} class does not exist");
}
});

afterEach(function () {
Expand Down
8 changes: 8 additions & 0 deletions tests/Autoload/IgnoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
4 changes: 4 additions & 0 deletions tests/Autoload/ProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
'Tests',
'Database/Migrations',
]);

foreach ($this->providers as $provider) {
expect(class_exists($provider))->toBeTrue("{$provider} class does not exist");
}
});

afterEach(function () {
Expand Down

0 comments on commit 9a6fa66

Please sign in to comment.