@@ -259,6 +262,8 @@ function colorIsLight($color)
@@ -266,7 +271,10 @@ function colorIsLight($color)
-
+
diff --git a/administrator/templates/isis/language/en-GB/en-GB.tpl_isis.ini b/administrator/templates/isis/language/en-GB/en-GB.tpl_isis.ini
index 29cfccfd8caa3..4bab04db0e632 100644
--- a/administrator/templates/isis/language/en-GB/en-GB.tpl_isis.ini
+++ b/administrator/templates/isis/language/en-GB/en-GB.tpl_isis.ini
@@ -28,6 +28,8 @@ TPL_ISIS_LOGO_DESC="Upload a custom logo for the administrator template."
TPL_ISIS_LOGO_LABEL="Logo"
TPL_ISIS_LOGOUT="Logout"
TPL_ISIS_PREVIEW="Preview %s"
+TPL_ISIS_SKIP_TO_MAIN_CONTENT="Skip to Main Content"
+TPL_ISIS_SKIP_TO_MAIN_CONTENT_HERE="Main content begins here"
TPL_ISIS_STATUS_BOTTOM="Fixed bottom"
TPL_ISIS_STATUS_DESC="Choose the location of the status module."
TPL_ISIS_STATUS_LABEL="Status Module Position"
diff --git a/components/com_content/views/categories/tmpl/default_items.php b/components/com_content/views/categories/tmpl/default_items.php
index 216178790834a..d524c4c5fdff3 100644
--- a/components/com_content/views/categories/tmpl/default_items.php
+++ b/components/com_content/views/categories/tmpl/default_items.php
@@ -31,6 +31,7 @@
escape($item->title); ?>
params->get('show_cat_num_articles_cat') == 1) :?>
+
numitems; ?>
diff --git a/installation/sql/mysql/joomla.sql b/installation/sql/mysql/joomla.sql
index 21e132698a899..0f73ae84b0cf8 100644
--- a/installation/sql/mysql/joomla.sql
+++ b/installation/sql/mysql/joomla.sql
@@ -1514,7 +1514,8 @@ CREATE TABLE IF NOT EXISTS `#__postinstall_messages` (
INSERT INTO `#__postinstall_messages` (`extension_id`, `title_key`, `description_key`, `action_key`, `language_extension`, `language_client_id`, `type`, `action_file`, `action`, `condition_file`, `condition_method`, `version_introduced`, `enabled`) VALUES
(700, 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_TITLE', 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_BODY', 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_ACTION', 'plg_twofactorauth_totp', 1, 'action', 'site://plugins/twofactorauth/totp/postinstall/actions.php', 'twofactorauth_postinstall_action', 'site://plugins/twofactorauth/totp/postinstall/actions.php', 'twofactorauth_postinstall_condition', '3.2.0', 1),
(700, 'COM_CPANEL_WELCOME_BEGINNERS_TITLE', 'COM_CPANEL_WELCOME_BEGINNERS_MESSAGE', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.2.0', 1),
-(700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1);
+(700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1),
+(700, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1);
-- --------------------------------------------------------
diff --git a/installation/sql/mysql/sample_testing.sql b/installation/sql/mysql/sample_testing.sql
index 2d13a7a1e30e9..818fa6e6b19ba 100644
--- a/installation/sql/mysql/sample_testing.sql
+++ b/installation/sql/mysql/sample_testing.sql
@@ -11,9 +11,13 @@ TRUNCATE `#__menu`;
TRUNCATE `#__menu_types`;
TRUNCATE `#__modules`;
TRUNCATE `#__modules_menu`;
-TRUNCATE `#__usergroups`;
TRUNCATE `#__tags`;
+TRUNCATE `#__usergroups`;
+TRUNCATE `#__viewlevels`;
+--
+-- Dumping data for table #__assets
+--
INSERT IGNORE INTO `#__assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES
(1, 0, 1, 437, 0, 'root.1', 'Root Asset', '{"core.login.site":{"6":1,"2":1},"core.login.admin":{"6":1},"core.admin":{"8":1},"core.manage":{"7":1},"core.create":{"6":1,"3":1},"core.delete":{"6":1},"core.edit":{"6":1,"4":1},"core.edit.state":{"6":1,"5":1},"core.edit.own":{"6":1,"3":1}}'),
(2, 1, 2, 3, 1, 'com_admin', 'com_admin', '{}'),
@@ -774,6 +778,14 @@ INSERT IGNORE INTO `#__usergroups` (`id`, `parent_id`, `lft`, `rgt`, `title`) VA
(12, 2, 17, 18, 'Customer Group (Example)'),
(13, 1, 2, 3, 'Guest');
+INSERT IGNORE INTO `#__viewlevels` (`id`, `title`, `ordering`, `rules`) VALUES
+(1, 'Public', 0, '[1]'),
+(2, 'Registered', 2, '[6,2,8]'),
+(3, 'Special', 4, '[6,3,8]'),
+(4, 'Customer Access Level (Example)', 3, '[6,3,12]'),
+(5, 'Guest', 1, '[13]'),
+(6, 'Super Users', 5, '[8]');
+
INSERT IGNORE INTO `#__tags` (`id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `title`, `alias`, `note`, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`, `metadesc`, `metakey`, `metadata`, `created_user_id`, `created_time`, `created_by_alias`, `modified_user_id`, `modified_time`, `images`, `urls`, `hits`, `language`, `version`, `publish_up`, `publish_down`) VALUES
(1, 0, 0, 9, 0, '', 'ROOT', 'root', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{}', '', '', '', 0, '2011-01-01 00:00:01', '', 0, '0000-00-00 00:00:00', '', '', 0, '*', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 1, 1, 2, 1, 'red', 'Red', 'red', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"tag_layout":"","tag_link_class":"label label-info","image_intro":"","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}', '', '', '{"author":"","robots":""}', 716, '2013-10-15 14:52:40', '', 0, '0000-00-00 00:00:00', '', '', 2, '*', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
diff --git a/installation/sql/postgresql/joomla.sql b/installation/sql/postgresql/joomla.sql
index fa82227222123..3b233efc654ea 100644
--- a/installation/sql/postgresql/joomla.sql
+++ b/installation/sql/postgresql/joomla.sql
@@ -1458,7 +1458,8 @@ COMMENT ON COLUMN "#__postinstall_messages"."version_introduced" IS 'Version whe
INSERT INTO "#__postinstall_messages" ("extension_id", "title_key", "description_key", "action_key", "language_extension", "language_client_id", "type", "action_file", "action", "condition_file", "condition_method", "version_introduced", "enabled") VALUES
(700, 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_TITLE', 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_BODY', 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_ACTION', 'plg_twofactorauth_totp', 1, 'action', 'site://plugins/twofactorauth/totp/postinstall/actions.php', 'twofactorauth_postinstall_action', 'site://plugins/twofactorauth/totp/postinstall/actions.php', 'twofactorauth_postinstall_condition', '3.2.0', 1),
(700, 'COM_CPANEL_WELCOME_BEGINNERS_TITLE', 'COM_CPANEL_WELCOME_BEGINNERS_MESSAGE', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.2.0', 1),
-(700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1);
+(700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1),
+(700, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1);
--
-- Table: #__redirect_links
diff --git a/installation/sql/postgresql/sample_testing.sql b/installation/sql/postgresql/sample_testing.sql
index 4931e7d1342ca..3472e6530aa64 100644
--- a/installation/sql/postgresql/sample_testing.sql
+++ b/installation/sql/postgresql/sample_testing.sql
@@ -6,6 +6,7 @@ TRUNCATE "#__modules" RESTART IDENTITY;
TRUNCATE "#__modules_menu" RESTART IDENTITY;
TRUNCATE "#__tags" RESTART IDENTITY;
TRUNCATE "#__usergroups" RESTART IDENTITY;
+TRUNCATE "#__viewlevels" RESTART IDENTITY;
--
-- Dumping data for table #__assets
@@ -845,3 +846,16 @@ INSERT INTO "#__usergroups" VALUES
(13,1,2,3,'Guest');
SELECT setval('#__usergroups_id_seq', max(id)) FROM #__usergroups;
+
+--
+-- Dumping data for table #__viewlevels
+--
+INSERT INTO "#__viewlevels" VALUES
+(1,'Public',0,'[1]'),
+(2,'Registered',2,'[6,2,8]'),
+(3,'Special',4,'[6,3,8]'),
+(4,'Customer Access Level (Example)',3,'[6,3,12]'),
+(5,'Guest',1,'[13]'),
+(6,'Super Users',5,'[8]');
+
+SELECT setval('#__viewlevels_id_seq', max(id)) FROM #__viewlevels;
\ No newline at end of file
diff --git a/installation/sql/sqlazure/joomla.sql b/installation/sql/sqlazure/joomla.sql
index 685c0c84c8e4e..35e43496f6f48 100644
--- a/installation/sql/sqlazure/joomla.sql
+++ b/installation/sql/sqlazure/joomla.sql
@@ -2338,7 +2338,9 @@ SELECT 700, 'PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_TITLE', 'PLG_TWOFACTORAUTH_TOTP_
UNION ALL
SELECT 700, 'COM_CPANEL_WELCOME_BEGINNERS_TITLE', 'COM_CPANEL_WELCOME_BEGINNERS_MESSAGE', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.2.0', 1
UNION ALL
-SELECT 700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1;
+SELECT 700, 'COM_CPANEL_MSG_STATS_COLLECTION_TITLE', 'COM_CPANEL_MSG_STATS_COLLECTION_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/statscollection.php', 'admin_postinstall_statscollection_condition', '3.5.0', 1
+UNION ALL
+SELECT 700, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1;
/****** Object: Table [#__redirect_links] ******/
SET QUOTED_IDENTIFIER ON;
diff --git a/installation/sql/sqlazure/sample_testing.sql b/installation/sql/sqlazure/sample_testing.sql
index 7df63b425caef..90f1bdd97c9f1 100644
--- a/installation/sql/sqlazure/sample_testing.sql
+++ b/installation/sql/sqlazure/sample_testing.sql
@@ -1198,8 +1198,9 @@ SET IDENTITY_INSERT [#__viewlevels] ON;
INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (1, 'Public', 0, '[1]');
INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (2, 'Registered', 2, '[6,2,8]');
-INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (3, 'Special', 3, '[6,3,8]');
-INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (5, 'Guest', 1, '[9]');
-INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (6, 'Super Users', 4, '[8]');
+INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (3, 'Special', 4, '[6,3,8]');
+INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (4, 'Customer Access Level (Example)', 3, '[6,3,12]');
+INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (5, 'Guest', 1, '[13]');
+INSERT [#__viewlevels] ([id], [title], [ordering], [rules]) VALUES (6, 'Super Users', 5, '[8]');
SET IDENTITY_INSERT [#__viewlevels] OFF;
diff --git a/libraries/cms/application/cms.php b/libraries/cms/application/cms.php
index 44a43a68b53d7..180feb84aeb9c 100644
--- a/libraries/cms/application/cms.php
+++ b/libraries/cms/application/cms.php
@@ -180,27 +180,31 @@ public function checkSession()
{
$query->clear();
- if ($session->isNew())
- {
- $query->insert($db->quoteName('#__session'))
- ->columns($db->quoteName('session_id') . ', ' . $db->quoteName('client_id') . ', ' . $db->quoteName('time'))
- ->values($db->quote($session->getId()) . ', ' . (int) $this->getClientId() . ', ' . $db->quote((int) time()));
- $db->setQuery($query);
- }
- else
- {
- $query->insert($db->quoteName('#__session'))
- ->columns(
- $db->quoteName('session_id') . ', ' . $db->quoteName('client_id') . ', ' . $db->quoteName('guest') . ', ' .
- $db->quoteName('time') . ', ' . $db->quoteName('userid') . ', ' . $db->quoteName('username')
- )
- ->values(
- $db->quote($session->getId()) . ', ' . (int) $this->getClientId() . ', ' . (int) $user->get('guest') . ', ' .
- $db->quote((int) $session->get('session.timer.start')) . ', ' . (int) $user->get('id') . ', ' . $db->quote($user->get('username'))
- );
-
- $db->setQuery($query);
- }
+ $time = $session->isNew() ? time() : $session->get('session.timer.start');
+
+ $columns = array(
+ $db->quoteName('session_id'),
+ $db->quoteName('client_id'),
+ $db->quoteName('guest'),
+ $db->quoteName('time'),
+ $db->quoteName('userid'),
+ $db->quoteName('username'),
+ );
+
+ $values = array(
+ $db->quote($session->getId()),
+ (int) $this->getClientId(),
+ (int) $user->guest,
+ $db->quote((int) $time),
+ (int) $user->id,
+ $db->quote($user->username),
+ );
+
+ $query->insert($db->quoteName('#__session'))
+ ->columns($columns)
+ ->values(implode(', ', $values));
+
+ $db->setQuery($query);
// If the insert failed, exit the application.
try
diff --git a/libraries/cms/helper/tags.php b/libraries/cms/helper/tags.php
index f67b44caaa812..f12a795ab125a 100644
--- a/libraries/cms/helper/tags.php
+++ b/libraries/cms/helper/tags.php
@@ -383,7 +383,7 @@ public function deleteTagData(JTableInterface $table, $contentItemId)
/**
* Method to get a list of tags for an item, optionally with the tag data.
*
- * @param integer $contentType Content type alias. Dot separated.
+ * @param string $contentType Content type alias. Dot separated.
* @param integer $id Id of the item to retrieve tags for.
* @param boolean $getTagData If true, data from the tags table will be included, defaults to true.
*
diff --git a/libraries/joomla/document/error.php b/libraries/joomla/document/error.php
index 65e4cb060a121..33d91939f7e1e 100644
--- a/libraries/joomla/document/error.php
+++ b/libraries/joomla/document/error.php
@@ -149,6 +149,16 @@ public function render($cache = false, $params = array())
$this->debug = isset($params['debug']) ? $params['debug'] : false;
$this->error = $this->_error;
+ // Load the language file for the template if able
+ if (JFactory::$language)
+ {
+ $lang = JFactory::getLanguage();
+
+ // 1.5 or core then 1.6
+ $lang->load('tpl_' . $template, JPATH_BASE, null, false, true)
+ || $lang->load('tpl_' . $template, $directory . '/' . $template, null, false, true);
+ }
+
// Load
$data = $this->_loadTemplate($directory . '/' . $template, $file);
diff --git a/media/jui/css/bootstrap-extended.css b/media/jui/css/bootstrap-extended.css
index 0dc2069697e69..3e422e04e68c1 100644
--- a/media/jui/css/bootstrap-extended.css
+++ b/media/jui/css/bootstrap-extended.css
@@ -397,6 +397,14 @@ fieldset.radio.btn-group {
width: 1px;
overflow: hidden;
}
+.element-invisible:focus {
+ width: auto;
+ height: auto;
+ overflow: auto;
+ background: #eee;
+ color: #000;
+ padding: 1em;
+}
.form-vertical .control-label {
float: none;
width: auto;
diff --git a/media/jui/less/bootstrap-extended.less b/media/jui/less/bootstrap-extended.less
index bded9a76d34f2..518e7cb5f1668 100644
--- a/media/jui/less/bootstrap-extended.less
+++ b/media/jui/less/bootstrap-extended.less
@@ -431,6 +431,16 @@ fieldset.radio.btn-group {
overflow: hidden;
}
+/* Make Accessible Hidden Elements visible on focus */
+.element-invisible:focus {
+ width:auto;
+ height:auto;
+ overflow:auto;
+ background:#eee;
+ color:#000;
+ padding:1em;
+}
+
/* Form Vertical Overrides Form Horizontal */
.form-vertical {
.control-label {
diff --git a/plugins/authentication/joomla/joomla.php b/plugins/authentication/joomla/joomla.php
index e0b219b18191f..8e234fae67b58 100644
--- a/plugins/authentication/joomla/joomla.php
+++ b/plugins/authentication/joomla/joomla.php
@@ -90,9 +90,7 @@ public function onUserAuthenticate($credentials, $options, &$response)
// Check the two factor authentication
if ($response->status == JAuthentication::STATUS_SUCCESS)
{
- JLoader::register('UsersHelper', JPATH_ADMINISTRATOR . '/components/com_users/helpers/users.php');
-
- $methods = UsersHelper::getTwoFactorMethods();
+ $methods = JAuthenticationHelper::getTwoFactorMethods();
if (count($methods) <= 1)
{
diff --git a/plugins/system/updatenotification/postinstall/updatecachetime.php b/plugins/system/updatenotification/postinstall/updatecachetime.php
new file mode 100644
index 0000000000000..70f17a3811b97
--- /dev/null
+++ b/plugins/system/updatenotification/postinstall/updatecachetime.php
@@ -0,0 +1,55 @@
+params->get('cachetimeout', 6);
+
+ // Check if cachetimeout is eq zero
+ if ($cacheTimeout == 0 && JPluginHelper::isEnabled('system', 'updatenotification'))
+ {
+ return true;
+ }
+
+ return false;
+}
+
+/**
+ * Sets the cachtimeout back to the default (6 hours)
+ *
+ * @return void
+ *
+ * @since __DEPLOY_VERSION__
+ */
+function updatecachetime_postinstall_action()
+{
+ $installer = JComponentHelper::getComponent('com_installer');
+
+ // Sets the cachtimeout back to the default (6 hours)
+ $installer->params->set('cachetimeout', 6);
+
+ // Save the new parameters back to com_installer
+ $table = JTable::getInstance('extension');
+ $table->load($installer->id);
+ $table->bind(array('params' => $installer->params->toString()));
+
+ // Store the changes
+ if (!$table->store())
+ {
+ // If there is a error show it to the admin
+ JFactory::getApplication()->enqueueMessage($table->getError(), 'error');
+ }
+}
diff --git a/plugins/system/updatenotification/updatenotification.php b/plugins/system/updatenotification/updatenotification.php
index 86c8099d8d9ee..3be554507c17a 100644
--- a/plugins/system/updatenotification/updatenotification.php
+++ b/plugins/system/updatenotification/updatenotification.php
@@ -25,6 +25,14 @@
*/
class PlgSystemUpdatenotification extends JPlugin
{
+ /**
+ * Load plugin language files automatically
+ *
+ * @var boolean
+ * @since __DEPLOY_VERSION__
+ */
+ protected $autoloadLanguage = true;
+
/**
* The update check and notification email code is triggered after the page has fully rendered.
*
diff --git a/templates/protostar/css/template.css b/templates/protostar/css/template.css
index 80e226fa72cde..c22cf35c1e99f 100644
--- a/templates/protostar/css/template.css
+++ b/templates/protostar/css/template.css
@@ -6126,6 +6126,14 @@ fieldset.radio.btn-group {
width: 1px;
overflow: hidden;
}
+.element-invisible:focus {
+ width: auto;
+ height: auto;
+ overflow: auto;
+ background: #eee;
+ color: #000;
+ padding: 1em;
+}
.form-vertical .control-label {
float: none;
width: auto;
diff --git a/tests/unit/suites/libraries/joomla/JFactoryTest.php b/tests/unit/suites/libraries/joomla/JFactoryTest.php
index a166a226c690d..e29528f45621d 100644
--- a/tests/unit/suites/libraries/joomla/JFactoryTest.php
+++ b/tests/unit/suites/libraries/joomla/JFactoryTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
-require_once JPATH_PLATFORM . '/joomla/factory.php';
-
/**
* Tests for JDate class.
*
diff --git a/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererAtomTest.php b/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererAtomTest.php
index 7fda9ae98cab5..bb5154b39ed88 100644
--- a/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererAtomTest.php
+++ b/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererAtomTest.php
@@ -38,10 +38,6 @@ protected function setUp()
$this->markTestSkipped("Too tightly coupled to internals to be testable now");
- require_once JPATH_PLATFORM . '/joomla/application/router.php';
- require_once JPATH_PLATFORM . '/joomla/environment/request.php';
- require_once JPATH_PLATFORM . '/joomla/document/feed/feed.php';
- require_once JPATH_PLATFORM . '/joomla/environment/response.php';
$this->saveFactoryState();
JFactory::$application = $this->getMock(
diff --git a/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererRSSTest.php b/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererRSSTest.php
index f6d726277a66f..e657ba0898ddb 100644
--- a/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererRSSTest.php
+++ b/tests/unit/suites/libraries/joomla/document/feed/renderer/JDocumentRendererRSSTest.php
@@ -37,11 +37,6 @@ protected function setUp()
$this->markTestSkipped("Too tightly coupled to internals to be testable now");
- require_once JPATH_PLATFORM . '/joomla/application/router.php';
- require_once JPATH_PLATFORM . '/joomla/environment/request.php';
- require_once JPATH_PLATFORM . '/joomla/document/feed/feed.php';
- require_once JPATH_PLATFORM . '/joomla/environment/response.php';
-
$this->saveFactoryState();
JFactory::$application = $this->getMock(
diff --git a/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php b/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php
index 652e1ee327c4b..d989c487a8fa9 100644
--- a/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php
+++ b/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php
@@ -8,7 +8,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/filesystem/patcher.php';
require_once JPATH_PLATFORM . '/joomla/filesystem/path.php';
/**
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubCommitsTest.php b/tests/unit/suites/libraries/joomla/github/JGithubCommitsTest.php
index ba4403994378f..49508dd34e534 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubCommitsTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubCommitsTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/github.php';
-require_once JPATH_PLATFORM . '/joomla/github/http.php';
-require_once JPATH_PLATFORM . '/joomla/github/commits.php';
-
/**
* Test class for JGitHubCommits.
*
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubForksTest.php b/tests/unit/suites/libraries/joomla/github/JGithubForksTest.php
index 497aa45ee22bc..56b472e39479a 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubForksTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubForksTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/github.php';
-require_once JPATH_PLATFORM . '/joomla/github/http.php';
-require_once JPATH_PLATFORM . '/joomla/github/forks.php';
-
/**
* Test class for JGithubGists.
*
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubHttpTest.php b/tests/unit/suites/libraries/joomla/github/JGithubHttpTest.php
index b79f292ead03c..bfb2c43669614 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubHttpTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubHttpTest.php
@@ -7,9 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/http.php';
-require_once JPATH_PLATFORM . '/joomla/http/transport/stream.php';
-
/**
* Test class for JGithub.
*
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubObjectTest.php b/tests/unit/suites/libraries/joomla/github/JGithubObjectTest.php
index e4ff721a7e258..3e9a266a98dc0 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubObjectTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubObjectTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/http.php';
-require_once JPATH_PLATFORM . '/joomla/github/object.php';
require_once __DIR__ . '/stubs/JGithubObjectMock.php';
/**
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubRefsTest.php b/tests/unit/suites/libraries/joomla/github/JGithubRefsTest.php
index 7125d64f42100..99cbd2b52f12a 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubRefsTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubRefsTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/github.php';
-require_once JPATH_PLATFORM . '/joomla/github/http.php';
-require_once JPATH_PLATFORM . '/joomla/github/refs.php';
-
/**
* Test class for JGithubGists.
*
diff --git a/tests/unit/suites/libraries/joomla/github/JGithubTest.php b/tests/unit/suites/libraries/joomla/github/JGithubTest.php
index 94a77c658c3cb..d03c119ccf500 100644
--- a/tests/unit/suites/libraries/joomla/github/JGithubTest.php
+++ b/tests/unit/suites/libraries/joomla/github/JGithubTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/github/github.php';
-
/**
* Test class for JGithub.
*
diff --git a/tests/unit/suites/libraries/joomla/language/JLanguageInspector.php b/tests/unit/suites/libraries/joomla/language/JLanguageInspector.php
index cc4723611050c..7889633bd7a7d 100644
--- a/tests/unit/suites/libraries/joomla/language/JLanguageInspector.php
+++ b/tests/unit/suites/libraries/joomla/language/JLanguageInspector.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/language/language.php';
-
/**
* Inspector for the JLanguage class.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinCompaniesTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinCompaniesTest.php
index 880310c6e3ba7..b2be5f4b376cb 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinCompaniesTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinCompaniesTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/companies.php';
-
/**
* Test class for JLinkedinCompanies.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinGroupsTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinGroupsTest.php
index 3592446cd66a7..20e07f6eac29c 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinGroupsTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinGroupsTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/groups.php';
-
/**
* Test class for JLinkedinGroups.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinJobsTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinJobsTest.php
index ab0973869da0b..eafd8b583b575 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinJobsTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinJobsTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/jobs.php';
-
/**
* Test class for JLinkedinJobs.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinOAuthTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinOAuthTest.php
index 5330a52e41447..a49ecdbc1b6bf 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinOAuthTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinOAuthTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/oauth.php';
-
/**
* Test class for JLinkedinOAuth.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinObjectTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinObjectTest.php
index 53f2ca098c4cc..dd4194b3824fb 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinObjectTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinObjectTest.php
@@ -7,7 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/object.php';
require_once __DIR__ . '/stubs/JLinkedinObjectMock.php';
/**
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinPeopleTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinPeopleTest.php
index 668115b9054ec..3ee696baf7c78 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinPeopleTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinPeopleTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/people.php';
-
/**
* Test class for JLinkedinPeople.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinStreamTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinStreamTest.php
index dae8eb9f59ece..22215852de897 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinStreamTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinStreamTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/stream.php';
-
/**
* Test class for JLinkedinStream.
*
diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php
index bb5836ac30915..5748c31fd0a22 100644
--- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php
+++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/linkedin/linkedin.php';
-
/**
* Test class for JLinkedin.
*
diff --git a/tests/unit/suites/libraries/joomla/mail/JMailHelperTest.php b/tests/unit/suites/libraries/joomla/mail/JMailHelperTest.php
index 9f555200b97ac..495e9ab7070f8 100644
--- a/tests/unit/suites/libraries/joomla/mail/JMailHelperTest.php
+++ b/tests/unit/suites/libraries/joomla/mail/JMailHelperTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-include_once JPATH_PLATFORM . '/joomla/mail/helper.php';
-
/**
* Test class for JMailHelper.
* Generated by PHPUnit on 2011-10-26 at 19:33:00.
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiCategoriesTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiCategoriesTest.php
index 04994ac03a7a6..c4118bf88817d 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiCategoriesTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiCategoriesTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/categories.php';
-
/**
* Test class for JMediawikiCategories.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiHttpTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiHttpTest.php
index 1f9fb2f1851e7..9bc9534d5f06d 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiHttpTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiHttpTest.php
@@ -7,9 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/http/transport/stream.php';
-
/**
* Test class for JMediawikiHttp.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiImagesTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiImagesTest.php
index d31d7c5d06317..1b94e0acc3fe7 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiImagesTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiImagesTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/images.php';
-
/**
* Test class for JMediawikiImages.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiLinksTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiLinksTest.php
index 3e607dab38e3e..d11a9aec121fb 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiLinksTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiLinksTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/links.php';
-
/**
* Test class for JMediawikiLinks.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiObjectTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiObjectTest.php
index 823fb0449519c..1489ca1b846ac 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiObjectTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiObjectTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/object.php';
require_once __DIR__ . '/stubs/JMediawikiObjectMock.php';
/**
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiPagesTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiPagesTest.php
index e943be5475cae..e6bdae9bef87c 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiPagesTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiPagesTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/pages.php';
-
/**
* Test class for JMediawikiPages.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSearchTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSearchTest.php
index 4c15fa65b3064..2fdcd57bdc6ad 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSearchTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSearchTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/search.php';
-
/**
* Test class for JMediawikiSearch.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSitesTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSitesTest.php
index 0a51103e6116f..056c477999136 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSitesTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiSitesTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/sites.php';
-
/**
* Test class for JMediawikiCategories.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiTest.php
index a44b6cca8f601..1885d3199dc68 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-
/**
* Test class for JMediawiki.
*
diff --git a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiUsersTest.php b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiUsersTest.php
index 4ee0a6f89be63..e283e54366536 100644
--- a/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiUsersTest.php
+++ b/tests/unit/suites/libraries/joomla/mediawiki/JMediawikiUsersTest.php
@@ -7,10 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/mediawiki/mediawiki.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/http.php';
-require_once JPATH_PLATFORM . '/joomla/mediawiki/users.php';
-
/**
* Test class for JMediawikiUsers.
*
diff --git a/tests/unit/suites/libraries/joomla/session/JSessionStorageTest.php b/tests/unit/suites/libraries/joomla/session/JSessionStorageTest.php
index c50d712995a9e..ebd54b3e4e801 100644
--- a/tests/unit/suites/libraries/joomla/session/JSessionStorageTest.php
+++ b/tests/unit/suites/libraries/joomla/session/JSessionStorageTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-include_once JPATH_PLATFORM . '/joomla/session/storage.php';
-
/**
* Test class for JSessionStorage.
*
diff --git a/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageDatabaseTest.php b/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageDatabaseTest.php
index 279204750e350..56c9b341de95d 100644
--- a/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageDatabaseTest.php
+++ b/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageDatabaseTest.php
@@ -6,8 +6,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-include_once JPATH_PLATFORM . '/joomla/session/storage.php';
-
/**
* Test class for JSessionStorageDatabase.
*
diff --git a/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageNoneTest.php b/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageNoneTest.php
index b5675ba32239f..70331b8a78039 100644
--- a/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageNoneTest.php
+++ b/tests/unit/suites/libraries/joomla/session/storage/JSessionStorageNoneTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-include_once JPATH_PLATFORM . '/joomla/session/storage.php';
-
/**
* Test class for JSessionStorageNone.
*
diff --git a/tests/unit/suites/libraries/joomla/table/JTableExtensionTest.php b/tests/unit/suites/libraries/joomla/table/JTableExtensionTest.php
index fea04d95776a6..108a978f36541 100644
--- a/tests/unit/suites/libraries/joomla/table/JTableExtensionTest.php
+++ b/tests/unit/suites/libraries/joomla/table/JTableExtensionTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/extension.php';
-
/**
* Test class for JTableExtension.
* Generated by PHPUnit on 2011-12-06 at 03:27:17.
diff --git a/tests/unit/suites/libraries/joomla/table/JTableLanguageTest.php b/tests/unit/suites/libraries/joomla/table/JTableLanguageTest.php
index 69e269560e997..4cd99183f7ca8 100644
--- a/tests/unit/suites/libraries/joomla/table/JTableLanguageTest.php
+++ b/tests/unit/suites/libraries/joomla/table/JTableLanguageTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/language.php';
-
/**
* Test class for JTableLanguage.
* Generated by PHPUnit on 2011-12-06 at 03:29:18.
diff --git a/tests/unit/suites/libraries/joomla/table/JTableUserTest.php b/tests/unit/suites/libraries/joomla/table/JTableUserTest.php
index a11a11f8ba57c..ed312bbaec8e7 100644
--- a/tests/unit/suites/libraries/joomla/table/JTableUserTest.php
+++ b/tests/unit/suites/libraries/joomla/table/JTableUserTest.php
@@ -7,8 +7,6 @@
* @license GNU General Public License version 2 or later; see LICENSE
*/
-require_once JPATH_PLATFORM . '/joomla/table/user.php';
-
/**
* Test class for JTableUser.
* Generated by PHPUnit on 2011-12-06 at 03:44:10.