Skip to content

Commit

Permalink
Merge branch '4.2-dev' into 4.2-finder-optimise
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed May 26, 2022
2 parents e5468fe + d13c954 commit 4307049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
Expand Up @@ -7,7 +7,7 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Joomla\Tests\Unit\Components\Actionlogs;
namespace Joomla\Tests\Unit\Component\Actionlogs\Administrator\Model;

use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\Component\Actionlogs\Administrator\Model\ActionlogConfigModel;
Expand Down
Expand Up @@ -6,7 +6,7 @@
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Tests\Unit\Administrator\Components\Finder\Indexer;
namespace Joomla\Tests\Unit\Component\Finder\Administrator\Indexer;

use Joomla\Component\Finder\Administrator\Indexer\Result;
use Joomla\Tests\Unit\UnitTestCase;
Expand All @@ -19,24 +19,6 @@
*/
class ResultTest extends UnitTestCase
{
/**
* Include non-autoloaded files as Namespace in the files that don't implement PSR-4
*
* @return void
*
* @since 4.1.3
*/
protected function setUp(): void
{
// Can be removed once we have autoloading working in Unit Tests
// @see https://github.com/joomla/joomla-cms/pull/36486
if (!class_exists(Result::class))
{
require_once JPATH_ADMINISTRATOR . '/components/com_finder/src/Indexer/Indexer.php';
require_once JPATH_ADMINISTRATOR . '/components/com_finder/src/Indexer/Result.php';
}
}

/**
* @return void
*
Expand Down

0 comments on commit 4307049

Please sign in to comment.