Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Mar 24, 2024
1 parent 90e41f5 commit 808098d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Model/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

it('can instantiate a domain model factory', function ($domainParameter, $modelName, $modelClass) {
Config::set('ddd.base_model', 'Lunarstorm\LaravelDDD\Models\DomainModel');
Artisan::call("ddd:model -f {$domainParameter} {$modelName}");
Artisan::call("ddd:model -f {$domainParameter}:{$modelName}");
expect(class_exists($modelClass))->toBeTrue();
expect($modelClass::factory())->toBeInstanceOf(Factory::class);
})->with([
Expand Down

0 comments on commit 808098d

Please sign in to comment.