This commit is contained in:
Pig Fang 2019-12-05 19:42:48 +08:00
parent 776e8652a0
commit 551b1334fc

View File

@ -39,10 +39,12 @@ class PluginControllerTest extends TestCase
->once()
->andReturn(new Plugin('', []));
$plugin = new Plugin('', []);
$plugin->setEnabled(true);
$mock->shouldReceive('get')
->with('fake3')
->once()
->andReturn(new Plugin('', []));
->andReturn();
$plugin = new Plugin(resource_path(''), ['config' => 'shared/head.twig']);
$plugin->setEnabled(true);