8 calls to HelperTrait::submitForm() in Style Switcher 8.2
- BlockTest::testBlockExists in tests/
src/ Functional/ BlockTest.php - Tests that the Style Switcher block exists and functions as a normal block.
- FormTest::testAddStyleExistingName in tests/
src/ Functional/ FormTest.php - Tests a validation error when trying to add a style with existing name.
- FormTest::testConfigThemeForm in tests/
src/ Functional/ FormTest.php - Tests the config theme form exists and functions properly.
- FormTest::testCustomStyleOps in tests/
src/ Functional/ FormTest.php - Tests add/edit and delete operations with a custom style.
- FormTest::testEditStyleExistingName in tests/
src/ Functional/ FormTest.php - Tests a validation error on setting a style other existing name.
- FormTest::testEmptyStyleOps in tests/
src/ Functional/ FormTest.php - Tests edit and delete operations with a default empty style.
- FormTest::testMainAdminForm in tests/
src/ Functional/ FormTest.php - Tests the main admin form exists and functions.
- FormTest::testStylesSettingsOnStyleRename in tests/
src/ Functional/ FormTest.php - Tests the styles settings config changes when a style is renamed via form.