Fix test
This commit is contained in:
parent
776e8652a0
commit
551b1334fc
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user