summaryrefslogtreecommitdiffstats
path: root/tests/Core/Middleware
Commit message (Collapse)AuthorAgeFilesLines
* Use ::class in test mocksMorris Jobke2017-10-241-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2017-07-311-6/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix getMock TwoFactorMiddlewareTestRoeland Jago Douma2016-09-061-8/+14
|
* prevent infinite redirect loops if the there is no 2fa provider to passChristoph Wurst2016-08-241-0/+2
| | | | | | | This fixes infinite loops that are caused whenever a user is about to solve a 2FA challenge, but the provider app is disabled at the same time. Since the session value usually indicates that the challenge needs to be solved before we grant access we have to remove that value instead in this special case.
* remember redirect_url when solving the 2FA challengeChristoph Wurst2016-06-011-4/+15
|
* Move parallel merged auth tests to PSR-4Joas Schilling2016-05-251-0/+183