mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:34:04 +00:00
Add docblocks
This commit is contained in:
parent
93fc961b34
commit
509d00f9f3
6 changed files with 184 additions and 6 deletions
|
|
@ -86,4 +86,12 @@ class TenantClassTest extends TestCase
|
|||
$this->assertSame('xyz', $tenant2->foo_bar);
|
||||
$this->assertArrayHasKey('foo_bar', $tenant2->data);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function an_exception_is_thrown_when_an_unknown_method_is_called()
|
||||
{
|
||||
$tenant = Tenant::new();
|
||||
$this->expectException(\BadMethodCallException::class);
|
||||
$tenant->sdjigndfgnjdfgj();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue