Fix test
This commit is contained in:
parent
776e8652a0
commit
551b1334fc
|
|
@ -39,10 +39,12 @@ class PluginControllerTest extends TestCase
|
||||||
->once()
|
->once()
|
||||||
->andReturn(new Plugin('', []));
|
->andReturn(new Plugin('', []));
|
||||||
|
|
||||||
|
$plugin = new Plugin('', []);
|
||||||
|
$plugin->setEnabled(true);
|
||||||
$mock->shouldReceive('get')
|
$mock->shouldReceive('get')
|
||||||
->with('fake3')
|
->with('fake3')
|
||||||
->once()
|
->once()
|
||||||
->andReturn(new Plugin('', []));
|
->andReturn();
|
||||||
|
|
||||||
$plugin = new Plugin(resource_path(''), ['config' => 'shared/head.twig']);
|
$plugin = new Plugin(resource_path(''), ['config' => 'shared/head.twig']);
|
||||||
$plugin->setEnabled(true);
|
$plugin->setEnabled(true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user