mirror of
https://github.com/nextcloud/server.git
synced 2024-08-24 17:55:37 +02:00
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9db8b0adf9
commit
a0f5aebb89
@ -1486,7 +1486,8 @@ class UsersControllerTest extends TestCase {
|
|||||||
$targetUser
|
$targetUser
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('setDisplayName')
|
->method('setDisplayName')
|
||||||
->with('NewDisplayName');
|
->with('NewDisplayName')
|
||||||
|
->willReturn(true);
|
||||||
$targetUser
|
$targetUser
|
||||||
->expects($this->any())
|
->expects($this->any())
|
||||||
->method('getUID')
|
->method('getUID')
|
||||||
|
Loading…
Reference in New Issue
Block a user