Changeset 27373 for trunk/tests/phpunit/tests/import/import.php
- Timestamp:
- 03/03/2014 04:20:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/import.php
r27349 r27373 228 228 } 229 229 230 function test_ordering_of_importers() { 231 global $wp_importers; 232 $_wp_importers = $wp_importers; // Preserve global state 233 $wp_importers = array( 234 'xyz1' => array( 'xyz1' ), 235 'XYZ2' => array( 'XYZ2' ), 236 'abc2' => array( 'abc2' ), 237 'ABC1' => array( 'ABC1' ), 238 'def1' => array( 'def1' ), 239 ); 240 $this->assertEquals( array( 241 'ABC1' => array( 'ABC1' ), 242 'abc2' => array( 'abc2' ), 243 'def1' => array( 'def1' ), 244 'xyz1' => array( 'xyz1' ), 245 'XYZ2' => array( 'XYZ2' ), 246 ), get_importers() ); 247 $wp_importers = $_wp_importers; // Restore global state 248 } 249 230 250 // function test_menu_import 231 251 }
Note: See TracChangeset
for help on using the changeset viewer.