dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8249f22
)
Initialize a group so the parser test can run
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 18 Jan 2005 03:34:30 +0000
(
03:34
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 18 Jan 2005 03:34:30 +0000
(
03:34
+0000)
maintenance/parserTests.php
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.php
b/maintenance/parserTests.php
index
6f6184f
..
fd2293f
100644
(file)
--- 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;
}
}