Skip to content
Commit d34217be authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Benni Mack
Browse files

[BUGFIX] Clean up DataHandler unit tests

This fixes wrong input configuration, wrong method calls and adds
some missing test cases.

- The first parameter of assertSame expects the expected value. All
occurrences in DataHandlerTest, which had them mixed up, are corrected.

- TCA configuration "type => input" corrected.

- Missing test cases with empty string as input added.

Resolves: #94682
Releases: master
Change-Id: If31ad11bb1e958fd24b1cbdb7d525d056fe3111b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70175


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent bd6ab528
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment