]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix tests
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 May 2017 20:10:51 +0000 (22:10 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 May 2017 20:10:57 +0000 (22:10 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tests/lib/Authentication/TwoFactorAuth/ManagerTest.php

index c031c39b5f28a72c1bb76cc67c64147d5baac411..1b5bd9a9e54b4296e836e6d27685cb89ade10ce7 100644 (file)
@@ -260,11 +260,11 @@ class ManagerTest extends TestCase {
                        ->willReturn('jos');
                $event->expects($this->once())
                        ->method('setApp')
-                       ->with($this->equalTo('twofactor_generic'))
+                       ->with($this->equalTo('core'))
                        ->willReturnSelf();
                $event->expects($this->once())
                        ->method('setType')
-                       ->with($this->equalTo('twofactor'))
+                       ->with($this->equalTo('security'))
                        ->willReturnSelf();
                $event->expects($this->once())
                        ->method('setAuthor')
@@ -319,11 +319,11 @@ class ManagerTest extends TestCase {
                        ->willReturn('jos');
                $event->expects($this->once())
                        ->method('setApp')
-                       ->with($this->equalTo('twofactor_generic'))
+                       ->with($this->equalTo('core'))
                        ->willReturnSelf();
                $event->expects($this->once())
                        ->method('setType')
-                       ->with($this->equalTo('twofactor'))
+                       ->with($this->equalTo('security'))
                        ->willReturnSelf();
                $event->expects($this->once())
                        ->method('setAuthor')