X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FCdbTest.php;h=e3d9da7c84c58cbc7661e3125e2267c383107f12;hb=b65669ff7adbbde55872a8ddd93214a9e1df75c6;hp=add585d71f384df481bcad233cea3eb2e0eebcac;hpb=490780c68a082d44a5648ba1de400331c75f0b33;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/CdbTest.php b/tests/phpunit/includes/CdbTest.php index add585d71f..e3d9da7c84 100644 --- a/tests/phpunit/includes/CdbTest.php +++ b/tests/phpunit/includes/CdbTest.php @@ -66,7 +66,6 @@ class CdbTest extends MediaWikiTestCase { $this->cdbAssert( "PHP error", $key, $v1, $value ); $this->cdbAssert( "DBA error", $key, $v2, $value ); } - } private function randomString() { @@ -75,6 +74,7 @@ class CdbTest extends MediaWikiTestCase { for ( $j = 0; $j < $len; $j++ ) { $s .= chr( mt_rand( 0, 255 ) ); } + return $s; }