diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-05-18 22:10:51 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-05-18 22:10:57 +0200 |
commit | e43649e67eecc42255df4db396c023084ddc0a1a (patch) | |
tree | 45c2041ea6e3cd56edb2cb2fbc464a7da66a9ce7 /tests/lib/Authentication/TwoFactorAuth | |
parent | 258c8720ddd46eb7e686728b82c0618036c64af9 (diff) | |
download | nextcloud-server-e43649e67eecc42255df4db396c023084ddc0a1a.tar.gz nextcloud-server-e43649e67eecc42255df4db396c023084ddc0a1a.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Authentication/TwoFactorAuth')
-rw-r--r-- | tests/lib/Authentication/TwoFactorAuth/ManagerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
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') |