summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/TwoFactorChallengeControllerTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-23 20:53:26 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-23 20:53:26 +0100
commiteff904473d5bea5fe36eb2183e993b49b8b999e9 (patch)
tree315319a2ae5a222f4f9806918c8a0787ad8ad8a0 /tests/Core/Controller/TwoFactorChallengeControllerTest.php
parent56c016946d0695a62e418839cf19786a223b4ae7 (diff)
downloadnextcloud-server-eff904473d5bea5fe36eb2183e993b49b8b999e9.tar.gz
nextcloud-server-eff904473d5bea5fe36eb2183e993b49b8b999e9.zip
Set redirect_url on 2FA challenge page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Core/Controller/TwoFactorChallengeControllerTest.php')
-rw-r--r--tests/Core/Controller/TwoFactorChallengeControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Core/Controller/TwoFactorChallengeControllerTest.php b/tests/Core/Controller/TwoFactorChallengeControllerTest.php
index 8a1cfb9edf1..9421a2537e8 100644
--- a/tests/Core/Controller/TwoFactorChallengeControllerTest.php
+++ b/tests/Core/Controller/TwoFactorChallengeControllerTest.php
@@ -143,6 +143,7 @@ class TwoFactorChallengeControllerTest extends TestCase {
'backupProvider' => $backupProvider,
'logout_attribute' => 'logoutAttribute',
'template' => '<html/>',
+ 'redirect_url' => '/re/dir/ect/url',
], 'guest');
$this->assertEquals($expected, $this->controller->showChallenge('myprovider', '/re/dir/ect/url'));