Remove leftover unit test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-09-14 13:38:18 +02:00
parent 89d3b2cdd3
commit 50ab20c22c
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 0 additions and 14 deletions

View File

@ -56,20 +56,6 @@ class SettingsControllerTest extends TestCase {
$this->controller = new SettingsController('twofactor_backupcodes', $this->request, $this->storage, $this->userSession);
}
public function testState() {
$user = $this->getMockBuilder(IUser::class)->getMock();
$this->userSession->expects($this->once())
->method('getUser')
->will($this->returnValue($user));
$this->storage->expects($this->once())
->method('getBackupCodesState')
->with($user)
->will($this->returnValue('state'));
$this->assertEquals('state', $this->controller->state());
}
public function testCreateCodes() {
$user = $this->getMockBuilder(IUser::class)->getMock();