stable

Clone or download

Read-only

Unit tests must not depend on time

The current tests are flaky because they depends on the current time. The current time is a moving value and we have no guarantee it will be close enough between the beginning and the end of the tests. This is a part of story #12449: Modal new document for embbeded Change-Id: Iadabb4b527bff7cdd1a3597a2077fa71f4b0fcfe

Modified Files

Name
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +2 −38 Go to diff View file