File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed
Actionlogs/Administrator/Model
Finder/Administrator/Indexer Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 77 * @license GNU General Public License version 2 or later; see LICENSE.txt
88 */
99
10- namespace Joomla \Tests \Unit \Components \Actionlogs ;
10+ namespace Joomla \Tests \Unit \Component \Actionlogs \ Administrator \ Model ;
1111
1212use Joomla \CMS \MVC \Factory \MVCFactoryInterface ;
1313use Joomla \Component \Actionlogs \Administrator \Model \ActionlogConfigModel ;
Original file line number Diff line number Diff line change 66 * @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
77 * @license GNU General Public License version 2 or later; see LICENSE.txt
88 */
9- namespace Joomla \Tests \Unit \Administrator \ Components \ Finder \Indexer ;
9+ namespace Joomla \Tests \Unit \Component \ Finder \ Administrator \Indexer ;
1010
1111use Joomla \Component \Finder \Administrator \Indexer \Result ;
1212use Joomla \Tests \Unit \UnitTestCase ;
1919 */
2020class ResultTest extends UnitTestCase
2121{
22- /**
23- * Include non-autoloaded files as Namespace in the files that don't implement PSR-4
24- *
25- * @return void
26- *
27- * @since 4.1.3
28- */
29- protected function setUp (): void
30- {
31- // Can be removed once we have autoloading working in Unit Tests
32- // @see https://github.com/joomla/joomla-cms/pull/36486
33- if (!class_exists (Result::class))
34- {
35- require_once JPATH_ADMINISTRATOR . '/components/com_finder/src/Indexer/Indexer.php ' ;
36- require_once JPATH_ADMINISTRATOR . '/components/com_finder/src/Indexer/Result.php ' ;
37- }
38- }
39-
4022 /**
4123 * @return void
4224 *
You can’t perform that action at this time.
0 commit comments