mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge pull request #1548 from jofrysutanto/master
Fix for PluginTestCase not loading dependencies.
This commit is contained in:
commit
31aa2f5f79
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user