diff options
Diffstat (limited to 'apps/comments/tests/Unit/AppInfo/ApplicationTest.php')
-rw-r--r-- | apps/comments/tests/Unit/AppInfo/ApplicationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php index 710a517f035..6e3658c0e5b 100644 --- a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php +++ b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php @@ -52,7 +52,7 @@ class ApplicationTest extends TestCase { $c = $app->getContainer(); // assert service instances in the container are properly setup - $s = $c->query('NotificationsController'); + $s = $c->get('NotificationsController'); $this->assertInstanceOf('OCA\Comments\Controller\Notifications', $s); $services = [ @@ -65,7 +65,7 @@ class ApplicationTest extends TestCase { ]; foreach ($services as $service) { - $s = $c->query($service); + $s = $c->get($service); $this->assertInstanceOf($service, $s); } } |