mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 23:24:03 +00:00
self review
This commit is contained in:
parent
3ec39b3445
commit
2cc40e0b81
2 changed files with 6 additions and 5 deletions
|
|
@ -784,10 +784,10 @@ function createTenantsAndRunMigrations(): array
|
|||
/**
|
||||
* Run tenant migrations using the tenants:migrate command.
|
||||
*/
|
||||
function migrateTenantsResource(?string $path = null): void
|
||||
function migrateTenantsResource(): void
|
||||
{
|
||||
pest()->artisan('tenants:migrate', [
|
||||
'--path' => $path ?? __DIR__ . '/Etc/synced_resource_migrations/users',
|
||||
'--path' => __DIR__ . '/Etc/synced_resource_migrations/users',
|
||||
'--realpath' => true,
|
||||
])->assertExitCode(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue