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 e40ea3d commit 565448b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Autoload/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

DomainCache::clear();
Artisan::call('ddd:clear');

expect(config('ddd.autoload_ignore'))->toEqualCanonicalizing([
'Tests',
'Database/Migrations',
]);
});

afterEach(function () {
Expand Down
5 changes: 5 additions & 0 deletions tests/Autoload/IgnoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
Path::normalize(base_path('src/Application')),
Path::normalize(base_path('src/Infrastructure')),
]);

expect(config('ddd.autoload_ignore'))->toEqualCanonicalizing([
'Tests',
'Database/Migrations',
]);
});

afterEach(function () {
Expand Down
5 changes: 5 additions & 0 deletions tests/Autoload/ProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

DomainCache::clear();
Artisan::call('ddd:clear');

expect(config('ddd.autoload_ignore'))->toEqualCanonicalizing([
'Tests',
'Database/Migrations',
]);
});

afterEach(function () {
Expand Down

0 comments on commit 565448b

Please sign in to comment.