Skip to content

Commit 382a366

Browse files
committed
fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent 788e282 commit 382a366

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/Service/ProvisioningServiceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function testProvisionUserAutoProvisioning(): void {
154154
->method('get')
155155
->willReturn($user);
156156

157-
$backendUser->expects(self::once())
157+
$user->expects(self::once())
158158
->method('setDisplayName')
159159
->with($name);
160160
$user->expects(self::once())
@@ -225,7 +225,7 @@ public function testProvisionUserInvalidProperties(): void {
225225
->method('get')
226226
->willReturn($user);
227227

228-
$backendUser->expects(self::once())
228+
$user->expects(self::once())
229229
->method('setDisplayName')
230230
->with($name);
231231
$user->expects(self::once())
@@ -257,7 +257,7 @@ public function testProvisionUserInvalidProperties(): void {
257257
->method('getProperty')
258258
->with('twitter')
259259
->willReturn($property);
260-
260+
261261

262262
$this->accountManager->expects(self::once())
263263
->method('getAccount')

0 commit comments

Comments
 (0)