From: freakolowsky Date: Wed, 17 Apr 2013 12:18:17 +0000 (+0200) Subject: Fixed dumpBlocks fcn X-Git-Tag: 1.31.0-rc.0~19877 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=66694155c1571c2f6463cead44b9c7f2d2171cbc;p=lhc%2Fweb%2Fwiklou.git Fixed dumpBlocks fcn Change-Id: I5db9105a38ffd968cf6a6bac0d723db40ec1f518 --- 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 );