mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
Reduced some memory usage.
This commit is contained in:
@@ -440,7 +440,7 @@
|
||||
e107::loadAdminIcons();
|
||||
|
||||
$expected = array (
|
||||
'plugnav-featurebox' =>
|
||||
/* 'plugnav-featurebox' =>
|
||||
array (
|
||||
'text' => 'Feature Box',
|
||||
'description' => 'Displays an animated area on the top of your page with news-items and other content you would like to feature.',
|
||||
@@ -458,7 +458,7 @@
|
||||
'icon' => '<img src=\'./e107_plugins/featurebox/images/featurebox_16.png\' alt="Feature Box" class=\'icon S16\' />',
|
||||
'icon_32' => '<img src=\'./e107_plugins/featurebox/images/featurebox_32.png\' alt="Feature Box" class=\'icon S32\' />',
|
||||
'cat' => 3,
|
||||
),
|
||||
),*/
|
||||
'plugnav-gallery' =>
|
||||
array (
|
||||
'text' => 'Gallery',
|
||||
@@ -537,8 +537,15 @@
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
$result = e107::getNav()->adminLinks('plugin2');
|
||||
$this->assertSame($expected, $result);
|
||||
|
||||
foreach($expected as $key=>$val)
|
||||
{
|
||||
$this->assertArrayHasKey($key,$result);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
/*
|
||||
public function testPlugCatToCoreCat()
|
||||
|
Reference in New Issue
Block a user