Skip to content

Commit

Permalink
Remove app refresh calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Nov 17, 2024
1 parent 7374d69 commit e18f7f8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Factory/DomainFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
it('can instantiate a domain model factory', function ($domainParameter, $modelName, $modelClass) {
$this->setupTestApplication();

$this->afterApplicationRefreshed(function () {
app('ddd.autoloader')->boot();
});

$this->refreshApplicationWithConfig([
config()->set([
'ddd.base_model' => 'Lunarstorm\LaravelDDD\Models\DomainModel',
'ddd.autoload.factories' => true,
]);
Expand Down

0 comments on commit e18f7f8

Please sign in to comment.