mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:54:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
f177e309f0
commit
bdaf6cf824
1 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Tests;
|
namespace Stancl\Tenancy\Tests;
|
||||||
|
|
||||||
use Mockery;
|
use Mockery;
|
||||||
|
|
@ -13,7 +15,7 @@ class TenantClassTest extends TestCase
|
||||||
|
|
||||||
/** @test */
|
/** @test */
|
||||||
public function data_cache_works_properly()
|
public function data_cache_works_properly()
|
||||||
{
|
{
|
||||||
$spy = Mockery::spy(config('tenancy.storage_driver'))->makePartial();
|
$spy = Mockery::spy(config('tenancy.storage_driver'))->makePartial();
|
||||||
$this->instance(StorageDriver::class, $spy);
|
$this->instance(StorageDriver::class, $spy);
|
||||||
|
|
||||||
|
|
@ -34,4 +36,4 @@ class TenantClassTest extends TestCase
|
||||||
|
|
||||||
Mockery::close();
|
Mockery::close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue