diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-01 14:04:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-09 19:23:04 +0200 |
commit | 4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18 (patch) | |
tree | edc83a0cb3ea74137df13008b0d3fdeabb85dbef /tests | |
parent | 0dee717c94468afeb139d9e8d9322b5fd26974b6 (diff) | |
download | nextcloud-server-4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18.tar.gz nextcloud-server-4461b9e870d9d97e1cf83f2adfdeb09cd57c3e18.zip |
enable the user to set a primary (notification) email address (backend)
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/User/UserTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/User/UserTest.php b/tests/lib/User/UserTest.php index 2366bf45321..ad8b01555ea 100644 --- a/tests/lib/User/UserTest.php +++ b/tests/lib/User/UserTest.php @@ -676,11 +676,14 @@ class UserTest extends TestCase { $emitter->expects($this->never()) ->method('emit'); + $this->dispatcher->expects($this->never()) + ->method('dispatch'); + $config = $this->createMock(IConfig::class); $config->expects($this->any()) ->method('getUserValue') ->willReturn('foo@bar.com'); - $config->expects($this->never()) + $config->expects($this->any()) ->method('setUserValue'); $user = new User('foo', $backend, $this->dispatcher, $emitter, $config); |