aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-12-28 16:28:08 +0100
committerGitHub <noreply@github.com>2016-12-28 16:28:08 +0100
commit75747c5d2fac98bc6dd4b75ed7cacae98f0e3744 (patch)
tree985889ade5a25ed8ee2278fccd87619e6bb4974d /tests
parentb399ad2fee406ce54389bace618f1804fdd2e42c (diff)
parenteff904473d5bea5fe36eb2183e993b49b8b999e9 (diff)
downloadnextcloud-server-75747c5d2fac98bc6dd4b75ed7cacae98f0e3744.tar.gz
nextcloud-server-75747c5d2fac98bc6dd4b75ed7cacae98f0e3744.zip
Merge pull request #2854 from nextcloud/2fa-redirect-url
Set redirect_url on 2FA challenge page
Diffstat (limited to 'tests')
-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'));