Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-08-23 10:49:15 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-08-23 10:49:15 +0300
commit889dc38bdf3d8e8250b4331a0bf20886b824b44b (patch)
tree578eab8709c88fdcdd64d76143a6bf3dabc8b636 /tests
parentad836606b307b8dd769398fdf086ef978a24c61c (diff)
add issuer prefix to label
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Controller/SettingsControllerTest.php2
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();