diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:34:47 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:42:38 +0200 |
commit | 680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2 (patch) | |
tree | 36347ecd2b95a696c338332111684e4a432a0349 /apps/twofactor_backupcodes/tests/Unit | |
parent | 835daedbbc6d49f860e6f608496788e8846cc6d8 (diff) | |
download | nextcloud-server-680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2.tar.gz nextcloud-server-680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2.zip |
Fix apps warnings
Diffstat (limited to 'apps/twofactor_backupcodes/tests/Unit')
-rw-r--r-- | apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php index 04c51fa7e14..57c262e1940 100644 --- a/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php +++ b/apps/twofactor_backupcodes/tests/Unit/Service/BackupCodeStorageTest.php @@ -170,7 +170,7 @@ class BackupCodeStorageTest extends TestCase { ->will($this->returnValue($codes)); $this->hasher->expects($this->once()) ->method('verify') - ->with('CHALLENGE', 'HASHEDVALUE') + ->with('CHALLENGE', 'HASHEDVALUE', $this->anything()) ->will($this->returnValue(true)); $this->mapper->expects($this->once()) ->method('update') @@ -195,7 +195,7 @@ class BackupCodeStorageTest extends TestCase { ->with($user) ->will($this->returnValue($codes)); $this->hasher->expects($this->never()) - ->method('verifiy'); + ->method('verify'); $this->mapper->expects($this->never()) ->method('update'); |