diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-19 00:50:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 00:50:44 +0200 |
commit | 7976927628fba974570753759b9aaebb1faee413 (patch) | |
tree | 0c0b64e674795f21008c10c24d40e56953a2643f /tests/lib/Authentication | |
parent | 8c624bdef9f3d7c2304ba4a3fba9dbbb23c65f3e (diff) | |
parent | 19a1e01d6cc08e486bb5afe83f25b2c28852603d (diff) | |
download | nextcloud-server-7976927628fba974570753759b9aaebb1faee413.tar.gz nextcloud-server-7976927628fba974570753759b9aaebb1faee413.zip |
Merge pull request #4894 from nextcloud/generic-security-activities
Change 2FA activities to more generic security activities
Diffstat (limited to 'tests/lib/Authentication')
-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') |