WordPress.org

Make WordPress Core

Changeset 1043 in tests


Ignore:
Timestamp:
09/24/12 13:22:47 (19 months ago)
Author:
SergeyBiryukov
Message:

Create a post for test_query_tag_nun() earlier so that it doesn't interfere with other tests. see [1032].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/query/results.php

    r1032 r1043  
    1818        $cat_c = $this->factory->term->create( array( 'taxonomy' => 'category', 'name' => 'cat-c' ) ); 
    1919 
     20        $this->factory->post->create( array( 'post_title' => 'tag-נ', 'tags_input' => array( 'tag-נ' ), 'post_date' => '2008-11-01 00:00:00' ) ); 
    2021        $this->factory->post->create( array( 'post_title' => 'cats-a-b-c', 'post_date' => '2008-12-01 00:00:00', 'post_category' => array( $cat_a, $cat_b, $cat_c ) ) ); 
    2122        $this->factory->post->create( array( 'post_title' => 'cats-a-and-b', 'post_date' => '2009-01-01 00:00:00', 'post_category' => array( $cat_a, $cat_b ) ) ); 
     
    4243        $this->factory->post->create( array( 'post_title' => 'tags-b-and-c', 'tags_input' => array( 'tag-b', 'tag-c' ), 'post_date' => '2010-09-01 00:00:00' ) ); 
    4344        $this->factory->post->create( array( 'post_title' => 'tags-a-and-c', 'tags_input' => array( 'tag-a', 'tag-c' ), 'post_date' => '2010-10-01 00:00:00' ) ); 
    44         $this->factory->post->create( array( 'post_title' => 'tag-נ', 'tags_input' => array( 'tag-נ' ), 'post_date' => '2010-11-01 00:00:00' ) ); 
    4545 
    4646        unset( $this->q ); 
Note: See TracChangeset for help on using the changeset viewer.