From e43649e67eecc42255df4db396c023084ddc0a1a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 18 May 2017 22:10:51 +0200 Subject: Fix tests Signed-off-by: Roeland Jago Douma --- tests/lib/Authentication/TwoFactorAuth/ManagerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/lib/Authentication') diff --git a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php index c031c39b5f2..1b5bd9a9e54 100644 --- a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php +++ b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php @@ -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') -- cgit v1.2.3