summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2019-10-01 12:17:35 +0200
committerGitHub <noreply@github.com>2019-10-01 12:17:35 +0200
commit47ab961aa79f8b03cefe41ce000628e076cb2484 (patch)
treed39c9e22b4483002d8ea735e43e01db345d80713 /tests
parentd68f30e72550ff2ce79e916142915c240458bbc5 (diff)
parentd33e0be2f1e2b276fc99b7f22cd5496cfc6c18a4 (diff)
downloadnextcloud-server-47ab961aa79f8b03cefe41ce000628e076cb2484.tar.gz
nextcloud-server-47ab961aa79f8b03cefe41ce000628e076cb2484.zip
Merge pull request #17001 from nextcloud/fix/noid/addressbookchanges-avatar
reduce adressbook change events and handling
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Avatar/UserAvatarTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Avatar/UserAvatarTest.php b/tests/lib/Avatar/UserAvatarTest.php
index 061866bedb0..2ce9266cf4d 100644
--- a/tests/lib/Avatar/UserAvatarTest.php
+++ b/tests/lib/Avatar/UserAvatarTest.php
@@ -223,8 +223,7 @@ class UserAvatarTest extends \Test\TestCase {
$this->config->expects($this->once())
->method('getUserValue');
- // One on remove and once on setting the new avatar
- $this->user->expects($this->exactly(2))->method('triggerChange');
+ $this->user->expects($this->exactly(1))->method('triggerChange');
$this->avatar->set($image->data());
}