projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
symfony
/
validator
/
Tests
/
Constraints
/
TimeValidatorTest.php
diff --git
a/vendor/symfony/validator/Tests/Constraints/TimeValidatorTest.php
b/vendor/symfony/validator/Tests/Constraints/TimeValidatorTest.php
index 10ffe877087832f7efd70437336439e4b06e2b38..a22251d0ee3c50f5c0b12b96b43b219e172c59b1 100644
(file)
--- a/
vendor/symfony/validator/Tests/Constraints/TimeValidatorTest.php
+++ b/
vendor/symfony/validator/Tests/Constraints/TimeValidatorTest.php
@@
-99,4
+99,11
@@
class TimeValidatorTest extends ConstraintValidatorTestCase
array('00:00:60', Time::INVALID_TIME_ERROR),
);
}
+
+ public function testDateTimeImmutableIsValid()
+ {
+ $this->validator->validate(new \DateTimeImmutable(), new Time());
+
+ $this->assertNoViolation();
+ }
}