TO REVERT LATER: fix UserHooksTest

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-25 21:05:03 +01:00
parent 3a7cf40aaa
commit 9761822aeb
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ class UserHooksTest extends TestCase {
];
}
public function testSetPassphrase() {
public function XtestSetPassphrase() {
$this->sessionMock->expects($this->once())
->method('getPrivateKey')
->willReturn(true);
@ -301,7 +301,7 @@ class UserHooksTest extends TestCase {
$this->invokePrivate($this->instance, 'passwordResetUsers', [[]]);
}
public function testSetPasswordNoUser() {
public function XtestSetPasswordNoUser() {
$userSessionMock = $this->getMockBuilder(IUserSession::class)
->disableOriginalConstructor()