diff options
Diffstat (limited to 'tests/lib/AppFramework/Bootstrap/BootContextTest.php')
-rw-r--r-- | tests/lib/AppFramework/Bootstrap/BootContextTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Bootstrap/BootContextTest.php b/tests/lib/AppFramework/Bootstrap/BootContextTest.php index 219c6d7e782..b566347e3ff 100644 --- a/tests/lib/AppFramework/Bootstrap/BootContextTest.php +++ b/tests/lib/AppFramework/Bootstrap/BootContextTest.php @@ -57,7 +57,8 @@ class BootContextTest extends TestCase { public function testGetServerContainer(): void { $serverContainer = $this->createMock(IServerContainer::class); - $this->appContainer->method('getServer') + $this->appContainer->method('get') + ->with(IServerContainer::class) ->willReturn($serverContainer); $container = $this->context->getServerContainer(); |