summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobThree <rob@devcorner.nl>2017-02-17 12:15:17 +0100
committerRobThree <rob@devcorner.nl>2017-02-17 12:15:17 +0100
commit178c60d94742f26853aeb79443dbb2e5b1d5aaa2 (patch)
tree098e6f37669ae7cf0abcfc079f7e5baeb354ab2c /tests
parentb3bb9685eaa8317c15715d35f0f86b251c2dc756 (diff)
downloadTwoFactorAuth-178c60d94742f26853aeb79443dbb2e5b1d5aaa2.zip
TwoFactorAuth-178c60d94742f26853aeb79443dbb2e5b1d5aaa2.tar.gz
TwoFactorAuth-178c60d94742f26853aeb79443dbb2e5b1d5aaa2.tar.bz2
* Redo #15 which somehow didn't merge...
Diffstat (limited to 'tests')
-rw-r--r--tests/TwoFactorAuthTest.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/TwoFactorAuthTest.php b/tests/TwoFactorAuthTest.php
index a133dd1..c631d04 100644
--- a/tests/TwoFactorAuthTest.php
+++ b/tests/TwoFactorAuthTest.php
@@ -44,22 +44,6 @@ class TwoFactorAuthTest extends PHPUnit_Framework_TestCase
new TwoFactorAuth('Test', 6, 30, 'xxx');
}
- /**
- * @expectedException \RobThree\Auth\TwoFactorAuthException
- */
- public function testConstructorThrowsOnQrProviderNotImplementingInterface() {
-
- new TwoFactorAuth('Test', 6, 30, 'sha1', new stdClass());
- }
-
- /**
- * @expectedException \RobThree\Auth\TwoFactorAuthException
- */
- public function testConstructorThrowsOnRngProviderNotImplementingInterface() {
-
- new TwoFactorAuth('Test', 6, 30, 'sha1', null, new stdClass());
- }
-
public function testGetCodeReturnsCorrectResults() {
$tfa = new TwoFactorAuth('Test');