diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Accounts/AccountManagerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Accounts/AccountManagerTest.php b/tests/lib/Accounts/AccountManagerTest.php index 18419d73423..9d54ef36c80 100644 --- a/tests/lib/Accounts/AccountManagerTest.php +++ b/tests/lib/Accounts/AccountManagerTest.php @@ -511,6 +511,12 @@ class AccountManagerTest extends TestCase { public function testAddMissingDefaults() { $user = $this->createMock(IUser::class); + $this->config + ->expects($this->once()) + ->method('getAppValue') + ->with('settings', 'profile_enabled_by_default', '1') + ->willReturn('1'); + $input = [ [ 'name' => IAccountManager::PROPERTY_DISPLAYNAME, |