diff --git a/tests/PluginTestCase.php b/tests/PluginTestCase.php index f32a626b2..9f6876b22 100644 --- a/tests/PluginTestCase.php +++ b/tests/PluginTestCase.php @@ -138,6 +138,9 @@ abstract class PluginTestCase extends Illuminate\Foundation\Testing\TestCase if (!empty($plugin->require)) { foreach ((array) $plugin->require as $dependency) { + + if (isset($this->pluginTestCaseLoadedPlugins[$code])) continue; + $this->runPluginRefreshCommand($dependency); } }