summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-16 12:48:09 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-01-18 17:53:58 +0100
commit85e4febc24591ad8f5c531164ee4a73c0ae1cae9 (patch)
treef2c9a2d974b2ed2db3ea3db3de3696e19655c14e /apps/twofactor_backupcodes/tests
parent3b4b49fa957d6aa7eab5d3c24035dd71ea165d4e (diff)
downloadnextcloud-server-85e4febc24591ad8f5c531164ee4a73c0ae1cae9.tar.gz
nextcloud-server-85e4febc24591ad8f5c531164ee4a73c0ae1cae9.zip
ignore code we're unable to test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/tests')
-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);