mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
Add more TenantManager tests
This commit is contained in:
parent
2c69c37032
commit
8d382024a3
3 changed files with 64 additions and 13 deletions
|
|
@ -27,6 +27,14 @@ class TenantStorageTest extends TestCase
|
|||
$this->assertFalse(tenant()->all()->contains($abc));
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function set_is_a_working_alias_for_put()
|
||||
{
|
||||
tenant()->set('foo', 'bar');
|
||||
|
||||
$this->assertSame('bar', $this->storage->get(tenant('uuid'), 'foo'));
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function put_works_with_key_and_value_as_separate_args()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue