From 91e7f12088cb87ffef5660429ece404364167978 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 16 Jul 2020 17:08:03 +0200 Subject: Adjust apps' code to use the ContainerInterface Signed-off-by: Christoph Wurst --- tests/lib/AppFramework/Bootstrap/BootContextTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/AppFramework') 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(); -- cgit v1.2.3