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:
parent
0692cdc36a
commit
e7d0bbf302
5 changed files with 7 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ test('asset helper tenancy can be disabled', function () {
|
|||
expect(asset('foo'))->toBe($original);
|
||||
});
|
||||
|
||||
// Helpers
|
||||
function getEnvironmentSetUp($app)
|
||||
{
|
||||
// parent::getEnvironmentSetUp($app);
|
||||
|
|
|
|||
|
|
@ -225,7 +225,6 @@ test('impersonation works with multiple models and guards', function () {
|
|||
});
|
||||
});
|
||||
|
||||
// Helpers
|
||||
function migrateTenants()
|
||||
{
|
||||
test()->artisan('tenants:migrate')->assertExitCode(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue