From 2d4386392c9d6053349267fa659df3f29297c047 Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Thu, 29 Aug 2024 08:14:47 -0300 Subject: [PATCH] LPD-35042 SF --- .../liferay/layout/service/test/LayoutImplTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/apps/layout/layout-test/src/testIntegration/java/com/liferay/layout/service/test/LayoutImplTest.java b/modules/apps/layout/layout-test/src/testIntegration/java/com/liferay/layout/service/test/LayoutImplTest.java index 2f3adcd7a32bc0..317f46e5120a66 100644 --- a/modules/apps/layout/layout-test/src/testIntegration/java/com/liferay/layout/service/test/LayoutImplTest.java +++ b/modules/apps/layout/layout-test/src/testIntegration/java/com/liferay/layout/service/test/LayoutImplTest.java @@ -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")); @@ -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")); @@ -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(), @@ -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);