summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php')
-rw-r--r--apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php
index 6f4c25fc22b..e1a13c89c10 100644
--- a/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php
+++ b/apps/twofactor_backupcodes/tests/Unit/Activity/ProviderTest.php
@@ -60,7 +60,7 @@ class ProviderTest extends TestCase {
$lang = 'ru';
$event = $this->createMock(IEvent::class);
$event->expects($this->once())
- ->method('getType')
+ ->method('getApp')
->willReturn('comments');
$this->setExpectedException(InvalidArgumentException::class);