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 */