From: Brion Vibber Date: Tue, 18 Jan 2005 03:34:30 +0000 (+0000) Subject: Initialize a group so the parser test can run X-Git-Tag: 1.5.0alpha1~900 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=341829286ce06f46306a5addf42b31a6bd436084;p=lhc%2Fweb%2Fwiklou.git Initialize a group so the parser test can run --- diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 6f6184f71c..fd2293fd32 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -319,7 +319,7 @@ class ParserTest { 'recentchanges', 'watchlist', 'math', 'searchindex', 'interwiki', 'querycache', - 'objectcache' + 'objectcache', 'group' ); } @@ -396,7 +396,13 @@ class ParserTest { 'iw_local' => 1 ), ) ); - + # Hack: initialize a group + $db->insert( 'group', array( + 'group_id' => 1, + 'group_name' => 'Anonymous', + 'group_description' => 'Anonymous users', + 'group_rights' => 'read' ) ); + $setupDB = true; } }