1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Tweak theme test

This commit is contained in:
Cameron
2019-03-18 13:01:42 -07:00
parent 5a35a4887d
commit 863cb3858d

View File

@@ -73,13 +73,13 @@
'jumbotron_full' =>
array (
0 => 'forum',
1 => 'user.php',
2 => '/user',
1 => 'user.php', // <-- match user.php script or URL
2 => '/user', // <-- Expecting URL to match both user and usersetting since it contains no "!"
),
'jumbotron_sidebar_right' =>
array (
0 => '/news',
//1 => '/usersettings.php'
// 1 => '/usersettings.php'
),
'other_layout' =>
array(
@@ -101,7 +101,7 @@
5 => array('url' => SITEURL."forum", 'script' => "index.php", 'expected' => 'jumbotron_full'),
6 => array('url' => SITEURL."other/page", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
7 => array('url' => SITEURL."news.php?5.3", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
8 => array('url' => SITEURL."usersettings.php", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
8 => array('url' => SITEURL."usersettings.php", 'script' => null, 'expected' => 'jumbotron_full'),
9 => array('url' => SITEURL."user.php", 'script' => null, 'expected' => 'jumbotron_full'),
10 => array('url' => SITEURL."page.php", 'script' => null, 'expected' => 'other_layout'),
11 => array('url' => SITEURL."page.php?3", 'script' => null, 'expected' => 'jumbotron_home'),