diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-08-23 10:49:15 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-08-23 10:49:15 +0300 |
commit | 889dc38bdf3d8e8250b4331a0bf20886b824b44b (patch) | |
tree | 578eab8709c88fdcdd64d76143a6bf3dabc8b636 /tests | |
parent | ad836606b307b8dd769398fdf086ef978a24c61c (diff) |
add issuer prefix to label
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/Controller/SettingsControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Controller/SettingsControllerTest.php b/tests/unit/Controller/SettingsControllerTest.php index 60c9d5d..9cefb70 100644 --- a/tests/unit/Controller/SettingsControllerTest.php +++ b/tests/unit/Controller/SettingsControllerTest.php @@ -79,7 +79,7 @@ class SettingsControllerTest extends TestCase { $qrCode = new QrCode(); $issuer = rawurlencode($this->defaults->getName()); - $qr = $qrCode->setText("otpauth://totp/user%40instance.com?secret=newsecret&issuer=$issuer") + $qr = $qrCode->setText("otpauth://totp/$issuer%3Auser%40instance.com?secret=newsecret&issuer=$issuer") ->setSize(150) ->getDataUri(); |