1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 09:14:04 +00:00
This commit is contained in:
Abrar Ahmad 2022-06-30 17:06:40 +05:00
parent acbdb4bbca
commit d8e298771b
11 changed files with 9 additions and 11 deletions

View file

@ -49,3 +49,4 @@ test('global cache manager stores data in global cache', function () {
tenancy()->initialize($tenant1); tenancy()->initialize($tenant1);
expect(cache('def'))->toBe('ghi'); expect(cache('def'))->toBe('ghi');
}); });

View file

@ -560,7 +560,6 @@ test('an event is fired for all touched resources', function () {
}); });
}); });
// Helpers
function migrateTenantsResource() function migrateTenantsResource()
{ {
test()->artisan('tenants:migrate', [ test()->artisan('tenants:migrate', [

View file

@ -96,8 +96,6 @@ test('asset helper tenancy can be disabled', function () {
function getEnvironmentSetUp($app) function getEnvironmentSetUp($app)
{ {
// parent::getEnvironmentSetUp($app);
$app->booted(function () { $app->booted(function () {
if (file_exists(base_path('routes/tenant.php'))) { if (file_exists(base_path('routes/tenant.php'))) {
Route::middleware(['web']) Route::middleware(['web'])