From 734d3794acad92257132997f94d0a6e6816f8c34 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 14 Oct 2015 21:59:14 +0000 Subject: [PATCH] Fix incorrect variable names from [35164]. Cool story - the tests appeared to pass with the typos. See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35165 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/admin/includesListTable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/admin/includesListTable.php b/tests/phpunit/tests/admin/includesListTable.php index 3e1ac03ae8..67d04f0d22 100644 --- a/tests/phpunit/tests/admin/includesListTable.php +++ b/tests/phpunit/tests/admin/includesListTable.php @@ -30,7 +30,7 @@ class Tests_Admin_includesListTable extends WP_UnitTestCase { ) ); self::$top[ $i ] = $p; - self::$post_ids[] = $p; + self::$post_ids[] = $p->ID; } // create child pages @@ -44,7 +44,7 @@ class Tests_Admin_includesListTable extends WP_UnitTestCase { ) ); self::$children[ $top ][ $i ] = $p; - self::$post_ids[] = $p; + self::$post_ids[] = $p->ID; } } @@ -60,7 +60,7 @@ class Tests_Admin_includesListTable extends WP_UnitTestCase { ) ); self::$grandchildren[ $top ][ $child ][ $i ] = $p; - self::$post_ids = $p; + self::$post_ids[] = $p->ID; } } }