Remove failing test related to the 'offset' param of `WP_Query`.

This test has been added as a patch to #18897.

Props MikeHansenMe.
See #30284.

git-svn-id: https://develop.svn.wordpress.org/trunk@30524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2014-11-22 20:45:58 +00:00
parent 83a9ac46fe
commit 9b6563f70f
1 changed files with 0 additions and 24 deletions

View File

@ -317,30 +317,6 @@ class Tests_Query_Results extends WP_UnitTestCase {
$this->assertEquals( $expected, wp_list_pluck( $posts, 'post_name' ) );
}
/**
* @ticket 18897
*/
function test_query_offset_and_paged() {
$posts = $this->q->query('paged=2&offset=3');
$expected = array (
0 => 'many-trackbacks',
1 => 'one-trackback',
2 => 'comment-test',
3 => 'lorem-ipsum',
4 => 'cat-c',
5 => 'cat-b',
6 => 'cat-a',
7 => 'cats-a-and-c',
8 => 'cats-b-and-c',
9 => 'cats-a-and-b',
);
$this->assertCount( 10, $posts );
$this->assertTrue( $this->q->is_paged() );
$this->assertEquals( $expected, wp_list_pluck( $posts, 'post_name' ) );
}
/**
* @ticket 11056
*/