Changeset 1032 in tests
- Timestamp:
- 09/21/2012 12:22:48 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/query/results.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/query/results.php
r904 r1032 42 42 $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' ) ); 43 43 $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' ) ); 44 45 45 46 unset( $this->q ); … … 89 90 } 90 91 92 /** 93 * @ticket 21779 94 */ 95 function test_query_tag_nun() { 96 $posts = $this->q->query('tag=tag-נ'); 97 98 // there is 1 post with Tag נ 99 $this->assertCount( 1, $posts ); 100 $this->assertEquals( 'tag-%d7%a0', $posts[0]->post_name ); 101 } 102 91 103 function test_query_tag_id() { 92 104 $tag = tag_exists('tag-a');
Note: See TracChangeset
for help on using the changeset viewer.