Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
adjust test expectations
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz authored and Backportbot committed Oct 1, 2019
commit d932653a298d1a18aa121e2fd5dc7c43fb8151b6
3 changes: 1 addition & 2 deletions tests/lib/Avatar/UserAvatarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ public function testSetAvatar() {
$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());
}
Expand Down