aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/IntegrityCheck')
-rw-r--r--tests/lib/IntegrityCheck/CheckerTest.php4
-rw-r--r--tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/lib/IntegrityCheck/CheckerTest.php b/tests/lib/IntegrityCheck/CheckerTest.php
index bf4ea16f564..05607f8113c 100644
--- a/tests/lib/IntegrityCheck/CheckerTest.php
+++ b/tests/lib/IntegrityCheck/CheckerTest.php
@@ -1030,9 +1030,9 @@ class CheckerTest extends TestCase {
$this->checker
->expects($this->once())
->method('verifyCoreSignature');
- $this->appLocator
+ $this->appManager
->expects($this->once())
- ->method('getAllApps')
+ ->method('getAllAppsInAppsFolders')
->willReturn([
'files',
'calendar',
diff --git a/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php b/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
index a86507f6bb2..d99a42e0d63 100644
--- a/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
+++ b/tests/lib/IntegrityCheck/Helpers/AppLocatorTest.php
@@ -30,8 +30,4 @@ class AppLocatorTest extends TestCase {
$this->locator->getAppPath('aTotallyNotExistingApp');
}
-
- public function testGetAllApps() {
- $this->assertSame(\OC_App::getAllApps(), $this->locator->getAllApps());
- }
}