PHP Класс Backend\Modules\Extensions\Tests\UploadThemeTest

Наследование: extends common\WebTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testUploadThemeNoParentFolder ( ) : void Test if we can upload a theme with a zip that contains only the files (not wrapped in a parent folder).
testUploadThemeZipGithub ( ) : void Test if we can upload a theme with a zip that contains a subfolder containing the themefiles.
testUploadThemeZipWithoutInfoFile ( ) : void Test that we cannot upload a theme without info.xml file

Защищенные методы

Метод Описание
setUp ( ) : void
tearDown ( ) : void

Приватные методы

Метод Описание
getSampleInfoXmlContents ( string $themeName ) : string
submitThemeUploadForm ( ) : void

Описание методов

setUp() защищенный Метод

protected setUp ( ) : void
Результат void

tearDown() защищенный Метод

protected tearDown ( ) : void
Результат void

testUploadThemeNoParentFolder() публичный Метод

Test if we can upload a theme with a zip that contains only the files (not wrapped in a parent folder).
public testUploadThemeNoParentFolder ( ) : void
Результат void

testUploadThemeZipGithub() публичный Метод

Test if we can upload a theme with a zip that contains a subfolder containing the themefiles.
public testUploadThemeZipGithub ( ) : void
Результат void

testUploadThemeZipWithoutInfoFile() публичный Метод

Test that we cannot upload a theme without info.xml file
public testUploadThemeZipWithoutInfoFile ( ) : void
Результат void