[BUGFIX] UnitTests create SQL error if openid is installed 90/28090/3
authorPhilipp Gampe <philipp.gampe@typo3.org>
Thu, 6 Mar 2014 02:07:16 +0000 (03:07 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 6 Mar 2014 21:33:09 +0000 (22:33 +0100)
commit6b72cf5e10f891e26b625864f8ff42f2edbea1f3
tree27c04c6f17961eeef0291b406f37f10cbd3bb527
parent11ea20441bf58791bd9a266d118ebaff39622a66
[BUGFIX] UnitTests create SQL error if openid is installed

AbstractUserAuthenticationTest is actually supposed to test
processLoginData from AuthenticationService from ext:sv.
However it fails to properly setup all auth parameters, therefore auth
services that depend on further settings fail.

This moves the test to the actually tested code (extension sv).
The test is adopted accordingly.

Additionally both tests are cleaned up from unneeded setUp/tearDown
functions.

Resolves: #56586
Releases: 6.2
Change-Id: I7406a56e5274ea54d400c1c116a8ea81c5cf4cea
Reviewed-on: https://review.typo3.org/28090
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Build/UnitTests.xml
typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php
typo3/sysext/sv/Tests/Unit/AuthenticationServiceTest.php [new file with mode: 0644]