[Wp-unit-tests] [WordPress Unit Tests] #30: Rewrite WPTestGalleryPost to use _WPDataset2
WordPress Unit Tests
noreply at wordpress.org
Mon Apr 9 21:17:49 UTC 2012
#30: Rewrite WPTestGalleryPost to use _WPDataset2
------------------------+--------------------------------
Reporter: nacin | Owner: westi
Type: defect | Status: new
Priority: major | Milestone: Fix existing Tests
Component: Formatting | Version:
Keywords: |
------------------------+--------------------------------
WPTestGalleryPost uses _WPDataset1, which is the 2007 data. However, it
relies on the 2008 data - [205]. As far as I can tell, these never
technically passed, as no dataset class has ever referenced the 2008 data.
The 2008 data has the post_category field, see #13.
The test content should be updated to use the new 2011 data, _WPDataset2.
--
Ticket URL: <https://unit-tests.trac.wordpress.org/ticket/30>
WordPress Unit Tests <https://unit-tests.trac.wordpress.org>
My example project
More information about the wp-unit-tests
mailing list