]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix backup codes activity type
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 16 May 2017 08:30:41 +0000 (10:30 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 18 May 2017 20:10:57 +0000 (22:10 +0200)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php

index 109db7f688c734192d8312fd1fd4c50849f6b3eb..d2387bd6ccd540b91ed6597291e4423aa5fbe817 100644 (file)
@@ -98,7 +98,7 @@ class BackupCodeStorageTest extends TestCase {
                        ->will($this->returnSelf());
                $event->expects($this->once())
                        ->method('setType')
-                       ->with('twofactor')
+                       ->with('security')
                        ->will($this->returnSelf());
                $event->expects($this->once())
                        ->method('setAuthor')