summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/tests/unit/AppInfo/PluginManagerTest.php4
-rw-r--r--tests/lib/Authentication/TwoFactorAuth/ManagerTest.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php
index a4fcef92511..ed19bdd53cd 100644
--- a/apps/dav/tests/unit/AppInfo/PluginManagerTest.php
+++ b/apps/dav/tests/unit/AppInfo/PluginManagerTest.php
@@ -72,8 +72,8 @@ class PluginManagerTest extends TestCase {
$appManager->method('getAppInfo')
->will($this->returnValueMap([
- ['adavapp', $appInfo1],
- ['adavapp2', $appInfo2],
+ ['adavapp', false, null, $appInfo1],
+ ['adavapp2', false, null, $appInfo2],
]));
$pluginManager = new PluginManager($server, $appManager);
diff --git a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
index 8afd165f320..3c617fe8442 100644
--- a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
+++ b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
@@ -172,14 +172,14 @@ class ManagerTest extends TestCase {
->method('getAppInfo')
->will($this->returnValueMap([
[
- 'mycustom2faapp',
+ 'mycustom2faapp', false, null,
['two-factor-providers' => [
'\OCA\MyCustom2faApp\FakeProvider',
]
]
],
[
- 'twofactor_backupcodes',
+ 'twofactor_backupcodes', false, null,
['two-factor-providers' => [
'\OCA\TwoFactorBackupCodes\Provider\FakeBackupCodesProvider',
]