mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Write more tests, fix filesystem support for s3
This commit is contained in:
parent
dc21bfa37a
commit
2c69c37032
6 changed files with 30 additions and 3 deletions
|
|
@ -15,6 +15,18 @@ class TenantStorageTest extends TestCase
|
|||
$this->storage = app(StorageDriver::class);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function deleting_a_tenant_works()
|
||||
{
|
||||
$abc = tenant()->create('abc.localhost');
|
||||
|
||||
$this->assertTrue(tenant()->all()->contains($abc));
|
||||
|
||||
tenant()->delete($abc['uuid']);
|
||||
|
||||
$this->assertFalse(tenant()->all()->contains($abc));
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function put_works_with_key_and_value_as_separate_args()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue