Changeset 903 in tests for trunk/tests/test_includes_canonical.php
- Timestamp:
- 07/16/2012 05:24:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/test_includes_canonical.php
r894 r903 36 36 // Already created by install defaults: 37 37 // $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'uncategorized' ) ); 38 38 39 39 $this->term_ids = array(); 40 40 … … 53 53 54 54 $this->factory->post->create( array( 'post_date' => '2008-09-05 00:00:00' ) ); 55 55 56 56 $this->factory->post->create( array( 'import_id' => 123 ) ); 57 57 $this->factory->post->create( array( 'import_id' => 1 ) ); 58 58 $this->factory->post->create( array( 'import_id' => 358 ) ); 59 59 60 60 $this->factory->post->create( array( 'post_type' => 'page', 'post_title' => 'sample-page' ) ); 61 61 $this->factory->post->create( array( 'post_type' => 'page', 'post_title' => 'about' ) ); … … 75 75 $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'cat-a' ) ); 76 76 $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'cat-b' ) ); 77 77 78 78 $this->factory->term->create( array( 'name' => 'post-formats' ) ); 79 79 } … … 106 106 107 107 $ticket_ref = ($ticket > 0) ? 'Ticket #' . $ticket : null; 108 108 109 109 if ( is_string($expected) ) 110 110 $expected = array('url' => $expected); … … 360 360 * (string) expected redirect location 361 361 * [3]: (optional) The ticket the test refers to, Can be skipped if unknown. 362 */ 362 */ 363 363 return array( 364 364 array( '/?p=123', '/?p=123' ),
Note: See TracChangeset
for help on using the changeset viewer.