mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
move a few lines [ci skip]
This commit is contained in:
parent
08f6db4ffe
commit
88d4e67516
1 changed files with 2 additions and 4 deletions
|
|
@ -43,8 +43,8 @@ class CacheManagerTest extends TestCase
|
|||
{
|
||||
tenant()->create('foo.localhost');
|
||||
tenancy()->init('foo.localhost');
|
||||
|
||||
cache()->put('foo', 'bar', 1);
|
||||
|
||||
$this->assertSame('bar', cache()->get('foo'));
|
||||
|
||||
tenant()->create('bar.localhost');
|
||||
|
|
@ -53,7 +53,6 @@ class CacheManagerTest extends TestCase
|
|||
$this->assertNotSame('bar', cache()->get('foo'));
|
||||
|
||||
cache()->put('foo', 'xyz', 1);
|
||||
|
||||
$this->assertSame('xyz', cache()->get('foo'));
|
||||
}
|
||||
|
||||
|
|
@ -62,8 +61,8 @@ class CacheManagerTest extends TestCase
|
|||
{
|
||||
tenant()->create('foo.localhost');
|
||||
tenancy()->init('foo.localhost');
|
||||
cache(['foo' => 'bar'], 1);
|
||||
|
||||
cache(['foo' => 'bar'], 1);
|
||||
$this->assertSame('bar', cache('foo'));
|
||||
|
||||
tenant()->create('bar.localhost');
|
||||
|
|
@ -72,7 +71,6 @@ class CacheManagerTest extends TestCase
|
|||
$this->assertNotSame('bar', cache('foo'));
|
||||
|
||||
cache(['foo' => 'xyz'], 1);
|
||||
|
||||
$this->assertSame('xyz', cache('foo'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue