Add all parameters to returnValueMap
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
efbdad2d0c
commit
372e06d742
|
@ -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);
|
||||
|
|
|
@ -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',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue