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

Update ResourceSyncingTest.php

This commit is contained in:
Abrar Ahmad 2022-10-13 17:31:18 +05:00
parent 99f853451b
commit 93efa56f59

View file

@ -787,6 +787,7 @@ function createTenantsAndRunMigrationsForDifferentSchema(): array
{ {
[$tenant1, $tenant2] = [ResourceTenantForDifferentSchema::create(['id' => 't1']), ResourceTenantForDifferentSchema::create(['id' => 't2'])]; [$tenant1, $tenant2] = [ResourceTenantForDifferentSchema::create(['id' => 't1']), ResourceTenantForDifferentSchema::create(['id' => 't2'])];
// run central user migrations
pest()->artisan('migrate', [ pest()->artisan('migrate', [
'--path' => __DIR__ . '/Etc/synced_resource_migrations/custom/central', '--path' => __DIR__ . '/Etc/synced_resource_migrations/custom/central',
'--realpath' => true, '--realpath' => true,