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>2018-01-15 23:02:05 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-01-15 23:02:05 +0300
commit923dd9e29170531fae3aa367196cdfc981eac293 (patch)
tree784e2550b0f14743b1153733673fad4ddd315374 /tests
parentf1e33062c699762c414f80fe2266e590b37b82fd (diff)
Fix unit test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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 c82e052..c07d0b1 100644
--- a/tests/Unit/Controller/SettingsControllerTest.php
+++ b/tests/Unit/Controller/SettingsControllerTest.php
@@ -88,7 +88,7 @@ class SettingsControllerTest extends PHPUnit_Framework_TestCase {
$issuer = rawurlencode($this->defaults->getName());
$qr = $qrCode->setText("otpauth://totp/$issuer%3Auser%40instance.com?secret=newsecret&issuer=$issuer")
->setSize(150)
- ->getDataUri();
+ ->writeDataUri();
$expected = [
'state' => ITotp::STATE_CREATED,