mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
rewrite hasFailed assertion
This commit is contained in:
parent
ae472984fa
commit
dd9584d123
1 changed files with 3 additions and 2 deletions
|
|
@ -192,12 +192,13 @@ class EventListenerTest extends TestCase
|
|||
})->toListener()
|
||||
);
|
||||
|
||||
Tenant::create([
|
||||
$tenant = Tenant::create([
|
||||
'tenancy_create_database' => false,
|
||||
'tenancy_db_name' => 'already_created',
|
||||
]);
|
||||
|
||||
$this->assertFalse($this->hasFailed());
|
||||
// assert test didn't fail
|
||||
$this->assertTrue($tenant->exists());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue