Skip to content

Commit 65db409

Browse files
author
Given Ncube
committed
fix(ci): updated github actions
1 parent 2e04068 commit 65db409

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/TestCase.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ protected function setUp(): void
2121
});
2222

2323
Factory::guessFactoryNamesUsing(
24-
fn (
24+
fn(
2525
string $modelName
26-
) => 'FlixtechsLabs\\LaravelAuthorizer\\Database\\Factories\\'.
27-
class_basename($modelName).
26+
) => 'FlixtechsLabs\\LaravelAuthorizer\\Database\\Factories\\' .
27+
class_basename($modelName) .
2828
'Factory'
2929
);
3030
}
@@ -48,7 +48,9 @@ public function defineDatabaseMigrations()
4848
{
4949
$this->artisan('vendor:publish', [
5050
'--provider' => PermissionServiceProvider::class,
51-
]);
51+
])->run();
52+
53+
$this->loadLaravelMigrations();
5254

5355
$this->artisan('migrate:fresh')->run();
5456

0 commit comments

Comments
 (0)