[-BUGFIX] remove datecheck on timezone test
authorFelix Oertel <f@oer.tel>
Wed, 13 Jul 2011 22:20:57 +0000 (00:20 +0200)
committerFelix Oertel <f@oer.tel>
Wed, 13 Jul 2011 22:20:57 +0000 (00:20 +0200)
When testing between 00:00 and 01:00 GMT+1 the timezone test fails,
because in this time the date in the set timezone differs from the
date in your timezone.

The assert for the date is not needed here, as only the set timezone
is going to be tested.

Change-Id: I6300a3c826e35ea6dd5b30f27fce05b9d81d6284

typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php

index 45bddad..07966f7 100644 (file)
@@ -230,7 +230,6 @@ class Tx_Extbase_Tests_Unit_Property_TypeConverter_DateTimeConverterTest extends
                        'timezone' => 'Atlantic/Reykjavik',
                );
                $date = $this->converter->convertFrom($source, 'DateTime');
-               $this->assertSame('2011-06-16', $date->format('Y-m-d'));
                $this->assertSame('Atlantic/Reykjavik', $date->getTimezone()->getName());
        }