summaryrefslogtreecommitdiff
path: root/tests/units/Auth/TotpAuthTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-03-09 21:24:04 -0500
committerFrederic Guillot <fred@kanboard.net>2017-03-09 21:24:04 -0500
commit6d814566fba8ac45b5cba6993e7b98223b259256 (patch)
tree199e1c456d721c4ca95b95092fbf619497ef073e /tests/units/Auth/TotpAuthTest.php
parentcbb4d0061e698376d4fbd9a6df95ac14d0733aed (diff)
Render QR code for TwoFactor authentication without Google Chart API
Diffstat (limited to 'tests/units/Auth/TotpAuthTest.php')
-rw-r--r--tests/units/Auth/TotpAuthTest.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/units/Auth/TotpAuthTest.php b/tests/units/Auth/TotpAuthTest.php
index 3a82c01c..d799259b 100644
--- a/tests/units/Auth/TotpAuthTest.php
+++ b/tests/units/Auth/TotpAuthTest.php
@@ -40,11 +40,6 @@ class TotpAuthTest extends Base
$this->assertEmpty($provider->getKeyUrl('me'));
$provider->setSecret('mySecret');
- $this->assertEquals(
- 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=M|0&chl=otpauth%3A%2F%2Ftotp%2Fme%3Fsecret%3DmySecret%26issuer%3DKanboard',
- $provider->getQrCodeUrl('me')
- );
-
$this->assertEquals('otpauth://totp/me?secret=mySecret&issuer=Kanboard', $provider->getKeyUrl('me'));
}