diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TwoFactorAuthTest.php | 16 |
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'); |