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

fixed messed up names

This commit is contained in:
Abrar Ahmad 2022-06-29 18:48:51 +05:00
parent 0692cdc36a
commit e7d0bbf302
5 changed files with 7 additions and 10 deletions

View file

@ -2,8 +2,6 @@
declare(strict_types=1);
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Schema;
use Stancl\JobPipeline\JobPipeline;

View file

@ -49,7 +49,7 @@ beforeEach(function () {
UpdateSyncedResource::$shouldQueue = false; // global state cleanup
Event::listen(SyncedResourceSaved::class, UpdateSyncedResource::class);
$this->artisan('migrate', [
test()->artisan('migrate', [
'--path' => [
__DIR__ . '/Etc/synced_resource_migrations',
__DIR__ . '/Etc/synced_resource_migrations/users',
@ -570,6 +570,7 @@ function migrateTenantsResource()
'--realpath' => true,
])->assertExitCode(0);
}
class ResourceTenant extends Tenant
{
public function users()

View file

@ -96,7 +96,6 @@ test('asset helper tenancy can be disabled', function () {
expect(asset('foo'))->toBe($original);
});
// Helpers
function getEnvironmentSetUp($app)
{
// parent::getEnvironmentSetUp($app);

View file

@ -225,7 +225,6 @@ test('impersonation works with multiple models and guards', function () {
});
});
// Helpers
function migrateTenants()
{
test()->artisan('tenants:migrate')->assertExitCode(0);