File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/provisioning_api/tests/Controller Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1144,7 +1144,7 @@ public function testGetUserDataAsAdmin(): void {
1144
1144
->method ('getHome ' )
1145
1145
->willReturn ('/var/www/newtcloud/data/UID ' );
1146
1146
$ targetUser
1147
- ->expects ($ this ->once ( ))
1147
+ ->expects ($ this ->exactly ( 2 ))
1148
1148
->method ('getLastLogin ' )
1149
1149
->willReturn (1521191471 );
1150
1150
$ targetUser
@@ -1276,7 +1276,7 @@ public function testGetUserDataAsSubAdminAndUserIsAccessible(): void {
1276
1276
->expects ($ this ->never ())
1277
1277
->method ('getHome ' );
1278
1278
$ targetUser
1279
- ->expects ($ this ->once ( ))
1279
+ ->expects ($ this ->exactly ( 2 ))
1280
1280
->method ('getLastLogin ' )
1281
1281
->willReturn (1521191471 );
1282
1282
$ targetUser
@@ -1464,7 +1464,7 @@ public function testGetUserDataAsSubAdminSelfLookup(): void {
1464
1464
->expects ($ this ->never ())
1465
1465
->method ('getHome ' );
1466
1466
$ targetUser
1467
- ->expects ($ this ->once ( ))
1467
+ ->expects ($ this ->exactly ( 2 ))
1468
1468
->method ('getLastLogin ' )
1469
1469
->willReturn (1521191471 );
1470
1470
$ targetUser
You can’t perform that action at this time.
0 commit comments