From 88d4e67516b9cc6fa9fc15963e0a89a8fa80e891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 13 Feb 2019 18:21:48 +0100 Subject: [PATCH] move a few lines [ci skip] --- tests/CacheManagerTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/CacheManagerTest.php b/tests/CacheManagerTest.php index 047a1557..12e34673 100644 --- a/tests/CacheManagerTest.php +++ b/tests/CacheManagerTest.php @@ -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')); } }