From 21f5b034cffe99ceffcab4679d4ee26aa4c6b07c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 23 Feb 2018 18:13:11 +0300 Subject: fix tests under macOS --- juick-www/src/test/java/com/juick/www/WebAppTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/test/java/com/juick') 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; -- cgit v1.2.3