mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
Remove fail() calls
This commit is contained in:
parent
157f87ae0c
commit
9c90be32a1
1 changed files with 0 additions and 8 deletions
|
|
@ -25,10 +25,6 @@ class TenantManagerTest extends TestCase
|
||||||
/** @test */
|
/** @test */
|
||||||
public function current_tenant_can_be_retrieved_using_getTenant()
|
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();
|
$tenant = Tenant::new()->withDomains(['test2.localhost'])->save();
|
||||||
|
|
||||||
tenancy()->init('test2.localhost');
|
tenancy()->init('test2.localhost');
|
||||||
|
|
@ -39,10 +35,6 @@ class TenantManagerTest extends TestCase
|
||||||
/** @test */
|
/** @test */
|
||||||
public function initById_works()
|
public function initById_works()
|
||||||
{
|
{
|
||||||
if (app()->version()[0] === '7') {
|
|
||||||
$this->fail('laravel 7 is used');
|
|
||||||
}
|
|
||||||
|
|
||||||
$tenant = Tenant::new()->withDomains(['foo.localhost'])->save();
|
$tenant = Tenant::new()->withDomains(['foo.localhost'])->save();
|
||||||
|
|
||||||
$this->assertNotEquals($tenant, tenancy()->getTenant());
|
$this->assertNotEquals($tenant, tenancy()->getTenant());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue