From 1c6408afc89dd5fc997720d18e9473bc46968060 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Fri, 22 Jan 2021 16:44:36 +1300 Subject: [PATCH] Clear store on tests --- tests/Schema/SchemaFactoryTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Schema/SchemaFactoryTest.php b/tests/Schema/SchemaFactoryTest.php index e983f4f70..9d9c3b1f4 100644 --- a/tests/Schema/SchemaFactoryTest.php +++ b/tests/Schema/SchemaFactoryTest.php @@ -36,6 +36,8 @@ public function testGet() $this->assertInstanceOf(Schema::class, $schema); $this->assertEquals('my-schema', $schema->getSchemaKey()); BuildState::clear(); + + $schema->getStore()->getCache()->clear(); } public function testBoot()