Skip to content

Commit

Permalink
LPD-35042 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Aug 29, 2024
1 parent 16fe18e commit 2d43863
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void testGetThemeSetting() throws Exception {
layoutSet = _layoutSetLocalService.updateSettings(
_group.getGroupId(), false,
_addThemeSettingProperty(
key, value, layoutSet.getSettingsProperties()));
key, layoutSet.getSettingsProperties(), value));

Assert.assertEquals(value, _layout.getThemeSetting(key, "regular"));

Expand All @@ -91,7 +91,7 @@ public void testGetThemeSetting() throws Exception {
_layout = _layoutLocalService.updateLayout(
_group.getGroupId(), false, _layout.getLayoutId(),
_addThemeSettingProperty(
key, value, _layout.getTypeSettingsProperties()));
key, _layout.getTypeSettingsProperties(), value));

Assert.assertEquals(value, _layout.getThemeSetting(key, "regular"));

Expand All @@ -107,7 +107,7 @@ public void testGetThemeSetting() throws Exception {
masterLayout = _layoutLocalService.updateLayout(
_group.getGroupId(), false, masterLayout.getLayoutId(),
_addThemeSettingProperty(
key, value, masterLayout.getTypeSettingsProperties()));
key, masterLayout.getTypeSettingsProperties(), value));

_layout = _layoutLocalService.updateMasterLayoutPlid(
_group.getGroupId(), false, _layout.getLayoutId(),
Expand Down Expand Up @@ -406,8 +406,8 @@ private Layout _addMasterLayout() throws Exception {
}

private String _addThemeSettingProperty(
String key, String value,
UnicodeProperties typeSettingsUnicodeProperties) {
String key, UnicodeProperties typeSettingsUnicodeProperties,
String value) {

typeSettingsUnicodeProperties.put(
ThemeSettingImpl.namespaceProperty("regular", key), value);
Expand Down

0 comments on commit 2d43863

Please sign in to comment.