[Form] Fixed test regression introduced in #6440
This commit is contained in:
parent
277ababc82
commit
87dcf25434
@ -111,11 +111,11 @@ class DateTimeToStringTransformerTest extends DateTimeTestCase
|
|||||||
*/
|
*/
|
||||||
public function testReverseTransformUsingPipe($format, $input, $output)
|
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.');
|
$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);
|
$output = new \DateTime($output);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user