[wp-trac] [WordPress Trac] #38688: Tests Audit: some tests can fail when the date changes
WordPress Trac
noreply at wordpress.org
Mon Nov 7 00:29:18 UTC 2016
#38688: Tests Audit: some tests can fail when the date changes
------------------------------+----------------------------
Reporter: pento | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: minor | Keywords: needs-patch
Focuses: |
------------------------------+----------------------------
There are tests that generate the date twice - usually once for creating
test data, then a second time for checking the expected output.
If the date changes between those two steps, the test will fail
incorrectly.
Example: https://travis-
ci.org/aaronjorbin/develop.wordpress/jobs/173767949
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38688>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list