‪TYPO3CMS  11.5
TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest:

Public Member Functions

 createZipFileFromExtensionGeneratesCorrectArchive ()
 

Protected Member Functions

array createFakeExtension ()
 

Protected Attributes

array $fakedExtensions = array( )
 

Detailed Description

Definition at line 29 of file ActionControllerTest.php.

Member Function Documentation

◆ createFakeExtension()

array TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest::createFakeExtension ( )
protected

◆ createZipFileFromExtensionGeneratesCorrectArchive()

TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest::createZipFileFromExtensionGeneratesCorrectArchive ( )

Warning: This test asserts multiple things at once to keep the setup short.

Test:

Definition at line 60 of file ActionControllerTest.php.

References $GLOBALS, TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest\createFakeExtension(), and TYPO3\CMS\Core\Core\Environment\getVarPath().

Member Data Documentation

◆ $fakedExtensions

array TYPO3\CMS\Extensionmanager\Tests\Unit\Controller\ActionControllerTest::$fakedExtensions = array( )
protected

List of created fake extensions to be deleted in tearDown() again

Definition at line 34 of file ActionControllerTest.php.