diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-30 16:17:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-31 14:15:12 +0100 |
commit | 372e06d74244b22ab6f79cd36e769e955482dc55 (patch) | |
tree | 2207e4b37510a7bfab48a7a0e316eb25cafa6a18 | |
parent | efbdad2d0c5ee26fafe48cafb4bf4703b23ea1fd (diff) | |
download | nextcloud-server-372e06d74244b22ab6f79cd36e769e955482dc55.tar.gz nextcloud-server-372e06d74244b22ab6f79cd36e769e955482dc55.zip |
Add all parameters to returnValueMap
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/dav/tests/unit/AppInfo/PluginManagerTest.php | 4 | ||||
-rw-r--r-- | 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', ] |