From 9c90be32a127b07edae8c068312c863710ee57d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 17 Mar 2020 18:07:25 +0100 Subject: [PATCH] Remove fail() calls --- tests/TenantManagerTest.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/TenantManagerTest.php b/tests/TenantManagerTest.php index 128c3566..8e78a607 100644 --- a/tests/TenantManagerTest.php +++ b/tests/TenantManagerTest.php @@ -25,10 +25,6 @@ class TenantManagerTest extends TestCase /** @test */ public function current_tenant_can_be_retrieved_using_getTenant() { - if (app()->version()[0] === '6') { - $this->fail('laravel 6 is used'); - } - $tenant = Tenant::new()->withDomains(['test2.localhost'])->save(); tenancy()->init('test2.localhost'); @@ -39,10 +35,6 @@ class TenantManagerTest extends TestCase /** @test */ public function initById_works() { - if (app()->version()[0] === '7') { - $this->fail('laravel 7 is used'); - } - $tenant = Tenant::new()->withDomains(['foo.localhost'])->save(); $this->assertNotEquals($tenant, tenancy()->getTenant());