merged branch bschussek/issue6440 (PR #6505)
This PR was merged into the 2.1 branch.
Commits
-------
87dcf25
[Form] Fixed test regression introduced in #6440
Discussion
----------
[Form] Fixed test regression introduced in #6440
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -
This commit is contained in:
commit
9b71f30ade
|
@ -111,11 +111,11 @@ class DateTimeToStringTransformerTest extends DateTimeTestCase
|
|||
*/
|
||||
public function testReverseTransformUsingPipe($format, $input, $output)
|
||||
{
|
||||
if (version_compare(phpversion(), '5.3.7', '>=')) {
|
||||
if (version_compare(phpversion(), '5.3.7', '<')) {
|
||||
$this->markTestSkipped('Pipe usage requires PHP 5.3.7 or newer.');
|
||||
}
|
||||
|
||||
$reverseTransformer = new DateTimeToStringTransformer('UTC', 'UTC', $format, false);
|
||||
$reverseTransformer = new DateTimeToStringTransformer('UTC', 'UTC', $format, true);
|
||||
|
||||
$output = new \DateTime($output);
|
||||
|
||||
|
|
Reference in New Issue