From 372e06d74244b22ab6f79cd36e769e955482dc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 30 Jan 2018 16:17:51 +0100 Subject: [PATCH] Add all parameters to returnValueMap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/dav/tests/unit/AppInfo/PluginManagerTest.php | 4 ++-- tests/lib/Authentication/TwoFactorAuth/ManagerTest.php | 4 ++-- 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', ]