From 6d814566fba8ac45b5cba6993e7b98223b259256 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 9 Mar 2017 21:24:04 -0500 Subject: Render QR code for TwoFactor authentication without Google Chart API --- tests/units/Auth/TotpAuthTest.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/units/Auth/TotpAuthTest.php') 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')); } -- cgit v1.2.3