adjust test expectations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
0b7ad2c22b
commit
d932653a29
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue