diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-01-15 23:02:05 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-01-15 23:02:05 +0300 |
commit | 923dd9e29170531fae3aa367196cdfc981eac293 (patch) | |
tree | 784e2550b0f14743b1153733673fad4ddd315374 /tests/Unit | |
parent | f1e33062c699762c414f80fe2266e590b37b82fd (diff) |
Fix unit test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Unit')
-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 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, |