From 012f7233f878a1e8c691c21f35691119530894d4 Mon Sep 17 00:00:00 2001 From: Jofry Date: Fri, 23 Oct 2015 10:55:42 +1100 Subject: [PATCH] Fix for PluginTestCase not loading dependencies. --- tests/PluginTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PluginTestCase.php b/tests/PluginTestCase.php index 5f45e4c2a..77fcb08b5 100644 --- a/tests/PluginTestCase.php +++ b/tests/PluginTestCase.php @@ -144,7 +144,7 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase if (!empty($plugin->require)) { foreach ((array) $plugin->require as $dependency) { - if (isset($this->pluginTestCaseLoadedPlugins[$code])) continue; + if (isset($this->pluginTestCaseLoadedPlugins[$dependency])) continue; $this->runPluginRefreshCommand($dependency); }