[BUGFIX] Correctly apply Extbase validator options and add tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Validation / Validator / StringLengthValidatorTest.php
index e7c2f8e..91b3a07 100644 (file)
@@ -80,7 +80,6 @@ class StringLengthValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        /**
         * @test
 
        /**
         * @test
-        * @expectedException \TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException
         */
        public function stringLengthValidatorReturnsNoErrorsForAStringLongerThanThanMinLengthAndMaxLengthNotSpecified() {
                $options = array('minimum' => 5);
         */
        public function stringLengthValidatorReturnsNoErrorsForAStringLongerThanThanMinLengthAndMaxLengthNotSpecified() {
                $options = array('minimum' => 5);
@@ -108,7 +107,6 @@ class StringLengthValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        /**
         * @test
 
        /**
         * @test
-        * @expectedException \TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException
         */
        public function stringLengthValidatorReturnsNoErrorForAStringLengthEqualToMinLengthAndMaxLengthNotSpecified() {
                $options = array('minimum' => 10);
         */
        public function stringLengthValidatorReturnsNoErrorForAStringLengthEqualToMinLengthAndMaxLengthNotSpecified() {
                $options = array('minimum' => 10);