adjust test expectations

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-09-04 13:36:36 +02:00
parent 3ce5d4e545
commit d33e0be2f1
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 2 deletions

View File

@ -223,8 +223,7 @@ class UserAvatarTest extends \Test\TestCase {
$this->config->expects($this->once()) $this->config->expects($this->once())
->method('getUserValue'); ->method('getUserValue');
// One on remove and once on setting the new avatar $this->user->expects($this->exactly(1))->method('triggerChange');
$this->user->expects($this->exactly(2))->method('triggerChange');
$this->avatar->set($image->data()); $this->avatar->set($image->data());
} }