stable

Clone or download

Read-only

fix: request #39708 HardcodedMetadataObsolescenceDateRetrieverTest::testGetTimeStampOfDateForDocumentAtCreation is flaky

`DateTimeImmutable::createFromFormat('Y-m-d', '2019-02-20')` creates a DateTime with current hour:minute:second. Instead of checking full timestamp, we can check that just year-month-day is the same *No functional changes expected* Unit tests should pass Change-Id: Idc68aa224cf4191589ed74c843f93fb2f4584ba1

Modified Files

Name
M plugins/docman/tests/unit/REST/v1/Metadata/HardcodedMetadataObsolescenceDateRetrieverTest.php +4 −1 Go to diff View file