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

Remove fail() calls

This commit is contained in:
Samuel Štancl 2020-03-17 18:07:25 +01:00
parent 157f87ae0c
commit 9c90be32a1

View file

@ -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());