From 66694155c1571c2f6463cead44b9c7f2d2171cbc Mon Sep 17 00:00:00 2001 From: freakolowsky Date: Wed, 17 Apr 2013 14:18:17 +0200 Subject: [PATCH] Fixed dumpBlocks fcn Change-Id: I5db9105a38ffd968cf6a6bac0d723db40ec1f518 --- tests/phpunit/includes/BlockTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/BlockTest.php b/tests/phpunit/includes/BlockTest.php index 02546fa545..b0448c0a7f 100644 --- a/tests/phpunit/includes/BlockTest.php +++ b/tests/phpunit/includes/BlockTest.php @@ -59,7 +59,7 @@ class BlockTest extends MediaWikiLangTestCase { * debug function : dump the ipblocks table */ function dumpBlocks() { - $v = $this->db->query( 'SELECT * FROM unittest_ipblocks' ); + $v = $this->db->select( 'ipblocks', '*' ); print "Got " . $v->numRows() . " rows. Full dump follow:\n"; foreach ( $v as $row ) { print_r( $row ); -- 2.20.1