summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-04 13:36:36 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-04 13:46:56 +0200
commitd33e0be2f1e2b276fc99b7f22cd5496cfc6c18a4 (patch)
treeba363e59aa5a5b864c1526f5039527cfd20c73ce /tests
parent3ce5d4e5450607b42da73f5c45a6fcd516fd9462 (diff)
downloadnextcloud-server-d33e0be2f1e2b276fc99b7f22cd5496cfc6c18a4.tar.gz
nextcloud-server-d33e0be2f1e2b276fc99b7f22cd5496cfc6c18a4.zip
adjust test expectations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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());
}