Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-04 14:36:36 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-10-01 13:19:03 +0300
commitd932653a298d1a18aa121e2fd5dc7c43fb8151b6 (patch)
treeb59de2b0a28ba99ffae9834df0156724f757eef2 /tests
parent0b7ad2c22b053b7460f1ff918d5e5b7c1b9b6b38 (diff)
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 049725c78c9..ed5678e6fe7 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());
}