From 5f55910b5cf007f23e6ac8143d4505280a3decb8 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sat, 9 Jan 2016 06:11:58 +0000 Subject: [PATCH] Tests: Remove some debug that's slipped in at some point. git-svn-id: https://develop.svn.wordpress.org/trunk@36236 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/testcase-canonical.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/includes/testcase-canonical.php b/tests/phpunit/includes/testcase-canonical.php index 24e651721f..efdbf56548 100644 --- a/tests/phpunit/includes/testcase-canonical.php +++ b/tests/phpunit/includes/testcase-canonical.php @@ -172,8 +172,7 @@ class WP_Canonical_UnitTestCase extends WP_UnitTestCase { $this->knownWPBug( $ticket ); $ticket_ref = ($ticket > 0) ? 'Ticket #' . $ticket : null; -global $wpdb; -//print_r( $wpdb->get_results( "SELECT * FROM $wpdb->terms" ) ); + if ( is_string($expected) ) $expected = array('url' => $expected); elseif ( is_array($expected) && !isset($expected['url']) && !isset($expected['qv']) )