function ColorConfigSchemaTest::testValidColorConfigSchema in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/color/src/Tests/ColorConfigSchemaTest.php \Drupal\color\Tests\ColorConfigSchemaTest::testValidColorConfigSchema()
Tests whether the color config schema is valid.
File
- core/
modules/ color/ src/ Tests/ ColorConfigSchemaTest.php, line 48 - Contains \Drupal\color\Tests\ColorConfigSchemaTest.
Class
- ColorConfigSchemaTest
- Ensures the color config schema is correct.
Namespace
Drupal\color\TestsCode
function testValidColorConfigSchema() {
$settings_path = 'admin/appearance/settings/bartik';
$edit['scheme'] = '';
$edit['palette[bg]'] = '#123456';
$this
->drupalPostForm($settings_path, $edit, t('Save configuration'));
}