function SkinrUIAdminTestCase::testSkinGroups in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_ui/src/Tests/skinr_ui.test \SkinrUIAdminTestCase::testSkinGroups()
Tests skin group functionality.
File
- tests/
skinr_ui.test, line 401 - Tests for the Skinr UI module.
Class
- SkinrUIAdminTestCase
- Tests administrative pages functionality.
Code
function testSkinGroups() {
$this
->drupalGet('admin/structure/skinr/library');
// Verify that the 'General' (default) group appears.
$this
->assertText(t('General'));
// Verify that the 'Box styles' group appears, since skinr_ui_test module
// registers a skin in that group.
$this
->assertText(t('Box styles'));
}