Skip to content

Commit b835e89

Browse files
committed
Creates temp folder in target folder
1 parent f4f8288 commit b835e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/test/java/org/apache/struts2/config/SettingsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void testSettings() {
3636
Settings settings = new DefaultSettings();
3737

3838
assertEquals("12345", settings.get(StrutsConstants.STRUTS_MULTIPART_MAX_SIZE));
39-
assertEquals("\\temp", settings.get(StrutsConstants.STRUTS_MULTIPART_SAVE_DIR));
39+
assertEquals("./target/temp", settings.get(StrutsConstants.STRUTS_MULTIPART_SAVE_DIR));
4040

4141
assertEquals("test,org/apache/struts2/othertest", settings.get( StrutsConstants.STRUTS_CUSTOM_PROPERTIES));
4242
assertEquals("testvalue", settings.get("testkey"));

core/src/test/resources/struts.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
struts.i18n.encoding=ISO-8859-1
2626
struts.locale=de_DE
27-
struts.multipart.saveDir=\\temp
27+
struts.multipart.saveDir=./target/temp
2828
struts.multipart.maxSize=12345
2929

3030
### Load custom property files (does not override struts.properties!)

0 commit comments

Comments
 (0)