From 075dc12e2fc1bd32dbd74de06ebf122f1ef85ab0 Mon Sep 17 00:00:00 2001 From: stancl Date: Sat, 14 Mar 2020 15:49:33 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/CachedResolverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CachedResolverTest.php b/tests/CachedResolverTest.php index 4f618b8b..32dd4b49 100644 --- a/tests/CachedResolverTest.php +++ b/tests/CachedResolverTest.php @@ -95,7 +95,7 @@ class CachedResolverTest extends TestCase // cache record is set $this->assertSame('xyz', tenancy()->find($tenant->id)->get('foo')); $this->assertSame('xyz', Cache::get('_tenancy_id_to_data:' . $tenant->id)['foo']); - + // cache record is invalidated $tenant->foo = 'abc'; $tenant->save(); @@ -117,7 +117,7 @@ class CachedResolverTest extends TestCase // cache record is invalidated $tenant->addDomains(['bar.localhost'])->save(); $this->assertEquals(null, Cache::get('_tenancy_id_to_domains:' . $tenant->id)); - + $this->assertEquals(['foo.localhost', 'bar.localhost'], tenancy()->find($tenant->id)->domains); }