Skip to content

Commit c948e7c

Browse files
[Http*] Mock time() to fix transient tests
1 parent 6dfeb39 commit c948e7c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

Tests/Extension/Core/Type/DateTimeTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ public function testSubmitDifferentPattern()
262262
$this->assertDateTimeEquals($dateTime, $form->getData());
263263
}
264264

265-
// Bug fix
266265
public function testInitializeWithDateTime()
267266
{
268267
// Throws an exception if "data_class" option is not explicitly set

Tests/Extension/Core/Type/DateTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ public function testPassWidgetToView()
694694
$this->assertSame('single_text', $view->vars['widget']);
695695
}
696696

697-
// Bug fix
698697
public function testInitializeWithDateTime()
699698
{
700699
// Throws an exception if "data_class" option is not explicitly set

Tests/Extension/Core/Type/TimeTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,6 @@ public function testIsPartiallyFilledReturnsTrueIfChoiceAndSecondsEmpty()
467467
$this->assertTrue($form->isPartiallyFilled());
468468
}
469469

470-
// Bug fix
471470
public function testInitializeWithDateTime()
472471
{
473472
// Throws an exception if "data_class" option is not explicitly set

0 commit comments

Comments
 (0)