Fix coverage

This commit is contained in:
Pig Fang 2019-12-05 22:35:19 +08:00
parent 551b1334fc
commit ba93788fc9

View File

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