aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/test/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-23 18:13:11 +0300
committerGravatar Vitaly Takmazov2018-02-23 18:13:11 +0300
commit21f5b034cffe99ceffcab4679d4ee26aa4c6b07c (patch)
tree34b2e804b6bdccc426a4bd6e1d76039144d6ddd3 /juick-www/src/test/java
parent023c0e62aeadf600f9d9ebffc6bb5392c8e387fd (diff)
fix tests under macOS
Diffstat (limited to 'juick-www/src/test/java')
-rw-r--r--juick-www/src/test/java/com/juick/www/WebAppTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/test/java/com/juick/www/WebAppTests.java b/juick-www/src/test/java/com/juick/www/WebAppTests.java
index e3ac53cf..af6b3f89 100644
--- a/juick-www/src/test/java/com/juick/www/WebAppTests.java
+++ b/juick-www/src/test/java/com/juick/www/WebAppTests.java
@@ -122,7 +122,7 @@ public class WebAppTests {
@Inject
private PebbleEngine pebbleEngine;
- @Value("${img_path:#{systemEnvironment['TEMP']}}")
+ @Value("${img_path:#{systemEnvironment['TEMP'] ?: '/tmp'}}")
private String imgPath;
private static User ugnich, freefd;