summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-22 20:38:50 +0200
committerGitHub <noreply@github.com>2020-07-22 20:38:50 +0200
commit346f647962e00b1f5e5f19a8526c88a09ebca59e (patch)
tree64f324cb5ff04f29247bf00f32e84bc7c8f4ed36 /tests
parentc842678f0a1fb65981a03302895192ddc58479c9 (diff)
parent7870ca06637453f4e72dbd67edbfb3603d813196 (diff)
downloadnextcloud-server-346f647962e00b1f5e5f19a8526c88a09ebca59e.tar.gz
nextcloud-server-346f647962e00b1f5e5f19a8526c88a09ebca59e.zip
Merge pull request #21870 from nextcloud/fix/bootstrap-context-container-interfaces
Make the bootstrap context return ContainerInterface instances
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppFramework/Bootstrap/BootContextTest.php3
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();