From c419c38efd55cd4118201a160abbf53b2e778471 Mon Sep 17 00:00:00 2001 From: Jim Cottrell Date: Fri, 27 Oct 2017 18:22:31 -0600 Subject: [PATCH] Reload October singletons in PluginTestCase for #3208 --- tests/PluginTestCase.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/PluginTestCase.php b/tests/PluginTestCase.php index 0a25dd2ec..2ae756ddd 100644 --- a/tests/PluginTestCase.php +++ b/tests/PluginTestCase.php @@ -48,17 +48,17 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase */ public function setUp() { + /* + * Force reload of October singletons + */ + PluginManager::forgetInstance(); + UpdateManager::forgetInstance(); + /* * Create application instance */ parent::setUp(); - /* - * Rebind Laravel container in October Singletons - */ - UpdateManager::instance()->bindContainerObjects(); - PluginManager::instance()->bindContainerObjects(); - /* * Ensure system is up to date */