From 64a0a9f108a4412d2c7e22ed2ce9531a7f6678c4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Sep 2020 11:18:39 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/comment/query.php | 2 +- tests/phpunit/tests/multisite/networkQuery.php | 2 +- tests/phpunit/tests/multisite/siteQuery.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/comment/query.php b/tests/phpunit/tests/comment/query.php index a8b856d5d8..012284eca6 100644 --- a/tests/phpunit/tests/comment/query.php +++ b/tests/phpunit/tests/comment/query.php @@ -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 ); } diff --git a/tests/phpunit/tests/multisite/networkQuery.php b/tests/phpunit/tests/multisite/networkQuery.php index 54248d81e2..a7a13a34c3 100644 --- a/tests/phpunit/tests/multisite/networkQuery.php +++ b/tests/phpunit/tests/multisite/networkQuery.php @@ -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 ); } diff --git a/tests/phpunit/tests/multisite/siteQuery.php b/tests/phpunit/tests/multisite/siteQuery.php index 6f8f48f4a8..df579bb438 100644 --- a/tests/phpunit/tests/multisite/siteQuery.php +++ b/tests/phpunit/tests/multisite/siteQuery.php @@ -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 ); }