Skip to content
Snippets Groups Projects
Commit 915ff981 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Issue #3435933 by Grimreaper: Fix tests

parent dfc16f5e
No related branches found
No related tags found
1 merge request!16Issue #3435933 by yassrzg Introducing dependencies between themes
......@@ -198,7 +198,7 @@ class ThemeSettingsFormTest extends UiSkinsFunctionalTestBase {
]));
$this->submitForm([
'ui_skins_css_variables[subsubtheme_group][ui_skins_test_subsubtheme][values_container][0][value]' => 'overridden value',
], $this->t('Save configuration'));
], 'Save configuration');
$theme_settings = $this->config('ui_skins_test_subsubtheme.settings');
$ui_skins_css_variables = $theme_settings->get(UiSkinsInterface::CSS_VARIABLES_THEME_SETTING_KEY);
......@@ -223,7 +223,7 @@ class ThemeSettingsFormTest extends UiSkinsFunctionalTestBase {
]));
$this->submitForm([
'ui_skins_css_variables[subsubtheme_group][ui_skins_test_subsubtheme][values_container][0][value]' => '0',
], $this->t('Save configuration'));
], 'Save configuration');
$theme_settings = $this->config('ui_skins_test_subsubtheme.settings');
$ui_skins_css_variables = $theme_settings->get(UiSkinsInterface::CSS_VARIABLES_THEME_SETTING_KEY);
......
......@@ -151,7 +151,7 @@ class ThemeTest extends UiSkinsFunctionalTestBase {
]));
$this->submitForm([
'ui_skins_theme' => 'ui_skins_test_subsubtheme',
], $this->t('Save configuration'));
], 'Save configuration');
$config = $this->config('ui_skins_test_subsubtheme.settings');
$ui_skins_theme_mode = $config->get(UiSkinsInterface::THEME_THEME_SETTING_KEY);
......
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