mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
Apply fixes from StyleCI (#80)
This commit is contained in:
parent
bd6583b6af
commit
eceacd9422
25 changed files with 83 additions and 70 deletions
|
|
@ -2,15 +2,13 @@
|
|||
|
||||
namespace Stancl\Tenancy\Tests;
|
||||
|
||||
use Stancl\Tenancy\Interfaces\StorageDriver;
|
||||
|
||||
class TenantStorageTest extends TestCase
|
||||
{
|
||||
/** @test */
|
||||
public function deleting_a_tenant_works()
|
||||
{
|
||||
$abc = tenant()->create('abc.localhost');
|
||||
|
||||
|
||||
$this->assertTrue(tenant()->all()->contains($abc));
|
||||
|
||||
tenant()->delete($abc['uuid']);
|
||||
|
|
@ -110,7 +108,7 @@ class TenantStorageTest extends TestCase
|
|||
public function put_returns_the_key_value_pairs_when_a_single_argument_is_used()
|
||||
{
|
||||
$value = ['foo' => 'bar', 'abc' => 'xyz'];
|
||||
|
||||
|
||||
$this->assertSame($value, tenancy()->put($value));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue