Changeset 25278 for trunk/tests/phpunit/includes/factory.php
- Timestamp:
- 09/06/2013 02:43:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory.php
r25002 r25278 85 85 class WP_UnitTest_Factory_For_Attachment extends WP_UnitTest_Factory_For_Post { 86 86 87 88 89 87 function create_object( $file, $parent = 0, $args = array() ) { 88 return wp_insert_attachment( $args, $file, $parent ); 89 } 90 90 } 91 91
Note: See TracChangeset
for help on using the changeset viewer.