Make WordPress Core


Ignore:
Timestamp:
07/16/2012 05:24:25 PM (13 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_includes_canonical.php

    r894 r903  
    3636        // Already created by install defaults:
    3737        // $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'uncategorized' ) );
    38        
     38
    3939        $this->term_ids = array();
    4040
     
    5353
    5454        $this->factory->post->create( array( 'post_date' => '2008-09-05 00:00:00' ) );
    55        
     55
    5656        $this->factory->post->create( array( 'import_id' => 123 ) );
    5757        $this->factory->post->create( array( 'import_id' => 1 ) );
    5858        $this->factory->post->create( array( 'import_id' => 358 ) );
    59        
     59
    6060        $this->factory->post->create( array( 'post_type' => 'page', 'post_title' => 'sample-page' ) );
    6161        $this->factory->post->create( array( 'post_type' => 'page', 'post_title' => 'about' ) );
     
    7575        $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'cat-a' ) );
    7676        $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'cat-b' ) );
    77        
     77
    7878        $this->factory->term->create( array( 'name' => 'post-formats' ) );
    7979    }
     
    106106
    107107        $ticket_ref = ($ticket > 0) ? 'Ticket #' . $ticket : null;
    108        
     108
    109109        if ( is_string($expected) )
    110110            $expected = array('url' => $expected);
     
    360360         *      (string) expected redirect location
    361361         * [3]: (optional) The ticket the test refers to, Can be skipped if unknown.
    362          */     
     362         */
    363363        return array(
    364364            array( '/?p=123', '/?p=123' ),
Note: See TracChangeset for help on using the changeset viewer.