Skip to content

Commit

Permalink
Creates temp folder in target folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Nov 2, 2024
1 parent f4f8288 commit b835e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void testSettings() {
Settings settings = new DefaultSettings();

assertEquals("12345", settings.get(StrutsConstants.STRUTS_MULTIPART_MAX_SIZE));
assertEquals("\\temp", settings.get(StrutsConstants.STRUTS_MULTIPART_SAVE_DIR));
assertEquals("./target/temp", settings.get(StrutsConstants.STRUTS_MULTIPART_SAVE_DIR));

assertEquals("test,org/apache/struts2/othertest", settings.get( StrutsConstants.STRUTS_CUSTOM_PROPERTIES));
assertEquals("testvalue", settings.get("testkey"));
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/resources/struts.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

struts.i18n.encoding=ISO-8859-1
struts.locale=de_DE
struts.multipart.saveDir=\\temp
struts.multipart.saveDir=./target/temp
struts.multipart.maxSize=12345

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

0 comments on commit b835e89

Please sign in to comment.