Skip to content
Snippets Groups Projects
Commit 96597bbe authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2221041 by alexpott, sun | StuartJNCC: Color palette setting controls are duplicated.

parent e88f22a2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -118,6 +118,7 @@ function _testColor($theme, $test_values) { ...@@ -118,6 +118,7 @@ function _testColor($theme, $test_values) {
$this->drupalLogin($this->big_user); $this->drupalLogin($this->big_user);
$this->drupalGet($settings_path); $this->drupalGet($settings_path);
$this->assertResponse(200); $this->assertResponse(200);
$this->assertUniqueText('Color set');
$edit['scheme'] = ''; $edit['scheme'] = '';
$edit[$test_values['palette_input']] = '#123456'; $edit[$test_values['palette_input']] = '#123456';
$this->drupalPostForm($settings_path, $edit, t('Save configuration')); $this->drupalPostForm($settings_path, $edit, t('Save configuration'));
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div id="palette" class="clearfix"> <div id="palette" class="clearfix">
{{ form.palette }} {{ form.palette }}
</div> </div>
{{ form }} {{ form|without('scheme', 'palette') }}
<h2>{{ 'Preview'|t }}</h2> <h2>{{ 'Preview'|t }}</h2>
{{ html_preview }} {{ html_preview }}
</div> </div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment