Project

General

Profile

Actions

Bug #72136

open

Make Validator Unit Tests behave like they are used from Domain Model

Added by Stephan Großberndt over 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2015-12-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

There is a big problem with Extbase validator unit tests found in #72047: They don't work the way the domain model works.

If not all options are given in an extbase domain model the given options are MERGED with the default options from the validator supplied in $supportedOptions.

In the validator unit tests the options are just plainly set and NOT MERGED with the default options.

This can lead to differences in the handling and in case of #72047 lead to completely ignoring the given options and only using the default options from $supportedOptions


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Bug #72047: Using NumberRangeValidator with startRange/endRange does not workClosedStephan Großberndt2015-12-03

Actions
Actions

Also available in: Atom PDF