From 341829286ce06f46306a5addf42b31a6bd436084 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 18 Jan 2005 03:34:30 +0000 Subject: [PATCH] Initialize a group so the parser test can run --- maintenance/parserTests.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; } } -- 2.20.1