Skip to content

Commit

Permalink
[TASK] Add functional test for runtimeActivatedPackages
Browse files Browse the repository at this point in the history
Resolves: #84215
Releases: master, 8.7, 7.6
Change-Id: I9a642bb90278b22e61b97634022d3ab7af514e10
Reviewed-on: https://review.typo3.org/56112
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
  • Loading branch information
IchHabRecht authored and susannemoog committed Mar 12, 2018
1 parent 6cf7d7e commit ba35a50
Showing 1 changed file with 40 additions and 0 deletions.
@@ -0,0 +1,40 @@
<?php
namespace TYPO3\CMS\Core\Tests\Functional\Package;

/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/

use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;

/**
* Test case
*/
class RuntimeActivatedPackagesTest extends FunctionalTestCase
{
protected $configurationToUseInTestInstance = [
'EXT' => [
'runtimeActivatedPackages' => [
'felogin'
]
]
];

/**
* @test
*/
public function runtimeActivatedPackageIsLoaded()
{
$this->assertTrue(ExtensionManagementUtility::isLoaded('felogin'));
}
}

0 comments on commit ba35a50

Please sign in to comment.