1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 23:24:03 +00:00

self review

This commit is contained in:
Abrar Ahmad 2022-11-03 11:13:49 +05:00
parent 3ec39b3445
commit 2cc40e0b81
2 changed files with 6 additions and 5 deletions

View file

@ -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);
}