Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit e43e962

Browse files
committed
fix sandbox test
1 parent 6294191 commit e43e962

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Server/SandboxTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,14 @@ protected function getSandbox()
5353

5454
protected function getContainer()
5555
{
56+
$config = m::mock(Illuminate\Config\Repository::class);
57+
$config->shouldReceive('get')
58+
->andReturn([]);
5659
$container = m::mock(Container::class);
5760
$container->shouldReceive('offsetGet')
5861
->andReturn((object)[]);
62+
$container->shouldReceive('make')
63+
->andReturn($config);
5964

6065
return $container;
6166
}

0 commit comments

Comments
 (0)