[wp-trac] [WordPress Trac] #34790: Fix unit tests after [35739]
WordPress Trac
noreply at wordpress.org
Thu Nov 26 01:35:09 UTC 2015
#34790: Fix unit tests after [35739]
--------------------------+--------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by joemcgill):
[https://core.trac.wordpress.org/attachment/ticket/34790/34790.diff
34790.diff] modifies the responsive image tests that were failing after
the switch to Twenty Sixteen as the default theme. If we truly want to be
able to run these tests without any interference from whichever theme is
loaded, we'd need to mock all of the expected data for image uploads,
rather than using the current factory methods to create actual attachments
from uploaded data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34790#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list