diff --git a/tests/CombinedDomainAndSubdomainIdentificationTest.php b/tests/CombinedDomainAndSubdomainIdentificationTest.php index b78cf48e..db01ef99 100644 --- a/tests/CombinedDomainAndSubdomainIdentificationTest.php +++ b/tests/CombinedDomainAndSubdomainIdentificationTest.php @@ -64,4 +64,4 @@ test('tenant can be identified by domain', function () { class CombinedTenant extends Models\Tenant { use HasDomains; -} \ No newline at end of file +} diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index 0e376e93..d0e025e7 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -207,4 +207,4 @@ function databaseConnectionSwitchedToDefault() runCommandWorks(); expect(DB::connection()->getDatabaseName())->toBe($originalDBName); -} \ No newline at end of file +} diff --git a/tests/DomainTest.php b/tests/DomainTest.php index b87d4f4d..907681ff 100644 --- a/tests/DomainTest.php +++ b/tests/DomainTest.php @@ -101,4 +101,4 @@ test('domains are always lowercase', function () { class DomainTenant extends Models\Tenant { use HasDomains; -} \ No newline at end of file +} diff --git a/tests/Etc/TestSeeder.php b/tests/Etc/TestSeeder.php index 55f1bc71..3412948e 100644 --- a/tests/Etc/TestSeeder.php +++ b/tests/Etc/TestSeeder.php @@ -20,4 +20,4 @@ class TestSeeder extends Seeder 'password' => bcrypt('password'), ]); } -} \ No newline at end of file +} diff --git a/tests/GlobalCacheTest.php b/tests/GlobalCacheTest.php index add5fd2b..8a13395c 100644 --- a/tests/GlobalCacheTest.php +++ b/tests/GlobalCacheTest.php @@ -49,3 +49,4 @@ test('global cache manager stores data in global cache', function () { tenancy()->initialize($tenant1); expect(cache('def'))->toBe('ghi'); }); + diff --git a/tests/ResourceSyncingTest.php b/tests/ResourceSyncingTest.php index 82789a74..38609895 100644 --- a/tests/ResourceSyncingTest.php +++ b/tests/ResourceSyncingTest.php @@ -560,7 +560,6 @@ test('an event is fired for all touched resources', function () { }); }); -// Helpers function migrateTenantsResource() { test()->artisan('tenants:migrate', [ diff --git a/tests/SingleDatabaseTenancyTest.php b/tests/SingleDatabaseTenancyTest.php index b64ff340..76e6b22f 100644 --- a/tests/SingleDatabaseTenancyTest.php +++ b/tests/SingleDatabaseTenancyTest.php @@ -349,4 +349,4 @@ class GlobalResource extends Model { protected $guarded = []; public $timestamps = false; -} \ No newline at end of file +} diff --git a/tests/SubdomainTest.php b/tests/SubdomainTest.php index bab67b52..6cbe1f05 100644 --- a/tests/SubdomainTest.php +++ b/tests/SubdomainTest.php @@ -129,4 +129,4 @@ test('central domain is not a subdomain', function () { class SubdomainTenant extends Models\Tenant { use HasDomains; -} \ No newline at end of file +} diff --git a/tests/TenantAssetTest.php b/tests/TenantAssetTest.php index c101e610..93a0d3b3 100644 --- a/tests/TenantAssetTest.php +++ b/tests/TenantAssetTest.php @@ -96,8 +96,6 @@ test('asset helper tenancy can be disabled', function () { function getEnvironmentSetUp($app) { - // parent::getEnvironmentSetUp($app); - $app->booted(function () { if (file_exists(base_path('routes/tenant.php'))) { Route::middleware(['web']) diff --git a/tests/TenantModelTest.php b/tests/TenantModelTest.php index cbfa0ec8..b8edf766 100644 --- a/tests/TenantModelTest.php +++ b/tests/TenantModelTest.php @@ -175,4 +175,4 @@ class AnotherTenant extends Model implements Contracts\Tenant { $this->$key = $value; } -} \ No newline at end of file +} diff --git a/tests/TenantUserImpersonationTest.php b/tests/TenantUserImpersonationTest.php index be792a7f..8c5716a0 100644 --- a/tests/TenantUserImpersonationTest.php +++ b/tests/TenantUserImpersonationTest.php @@ -262,4 +262,4 @@ class AnotherImpersonationUser extends Authenticable { protected $guarded = []; protected $table = 'users'; -} \ No newline at end of file +}