We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e04068 commit 65db409Copy full SHA for 65db409
tests/TestCase.php
@@ -21,10 +21,10 @@ protected function setUp(): void
21
});
22
23
Factory::guessFactoryNamesUsing(
24
- fn (
+ fn(
25
string $modelName
26
- ) => 'FlixtechsLabs\\LaravelAuthorizer\\Database\\Factories\\'.
27
- class_basename($modelName).
+ ) => 'FlixtechsLabs\\LaravelAuthorizer\\Database\\Factories\\' .
+ class_basename($modelName) .
28
'Factory'
29
);
30
}
@@ -48,7 +48,9 @@ public function defineDatabaseMigrations()
48
{
49
$this->artisan('vendor:publish', [
50
'--provider' => PermissionServiceProvider::class,
51
- ]);
+ ])->run();
52
+
53
+ $this->loadLaravelMigrations();
54
55
$this->artisan('migrate:fresh')->run();
56
0 commit comments