Docs: Correct comments in comments_pre_query
, networks_pre_query
, and sites_pre_query
tests.
Follow-up to [44983], [46086]. See #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@48987 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e145c9aaba
commit
64a0a9f108
@ -4907,7 +4907,7 @@ class Tests_Comment_Query extends WP_UnitTestCase {
|
||||
// We manually inserted a non-existing site and overrode the results with it.
|
||||
$this->assertSame( array( 555 ), $results );
|
||||
|
||||
// Make sure manually setting total_users doesn't get overwritten.
|
||||
// Make sure manually setting found_comments doesn't get overwritten.
|
||||
$this->assertSame( 1, $q->found_comments );
|
||||
}
|
||||
|
||||
|
@ -545,7 +545,7 @@ if ( is_multisite() ) :
|
||||
// We manually inserted a non-existing site and overrode the results with it.
|
||||
$this->assertSame( array( 555 ), $results );
|
||||
|
||||
// Make sure manually setting total_users doesn't get overwritten.
|
||||
// Make sure manually setting found_networks doesn't get overwritten.
|
||||
$this->assertSame( 1, $q->found_networks );
|
||||
}
|
||||
|
||||
|
@ -932,7 +932,7 @@ if ( is_multisite() ) :
|
||||
// We manually inserted a non-existing site and overrode the results with it.
|
||||
$this->assertSame( array( 555 ), $results );
|
||||
|
||||
// Make sure manually setting total_users doesn't get overwritten.
|
||||
// Make sure manually setting found_sites doesn't get overwritten.
|
||||
$this->assertSame( 1, $q->found_sites );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user