minor #15681 [Validator] Cleanup a test (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] Cleanup a test

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/15664/files#r38640423
| License       | MIT
| Doc PR        | -

Commits
-------

12ec734 [Validator] Cleanup a test
This commit is contained in:
Fabien Potencier 2015-09-03 16:20:20 +02:00
commit 041dff57ac

View File

@ -82,11 +82,6 @@ class NotIdenticalToValidatorTest extends AbstractComparisonValidatorTestCase
array($object, '2', $object, '2', __NAMESPACE__.'\ComparisonTest_Class'),
);
if (version_compare(PHP_VERSION, '>=', '5.5')) {
$immutableDate = new \DateTimeImmutable('2000-01-01');
$comparisons[] = array($immutableDate, 'Jan 1, 2000, 12:00 AM', $immutableDate, 'Jan 1, 2000, 12:00 AM', 'DateTime');
}
return $comparisons;
}
}