Rob Bast 8 years ago
parent
commit
a45ae5f585
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/Composer/Test/Package/Dumper/ArrayDumperTest.php

+ 2 - 2
tests/Composer/Test/Package/Dumper/ArrayDumperTest.php

@@ -104,9 +104,9 @@ class ArrayDumperTest extends \PHPUnit_Framework_TestCase
             ),
             array(
                 'time',
-                new \DateTime('2012-02-01'),
+                $datetime = new \DateTime('2012-02-01'),
                 'ReleaseDate',
-                '2012-02-01 00:00:00',
+                $datetime->format(DATE_RFC3339),
             ),
             array(
                 'authors',