aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-28 14:16:08 +0300
committerGravatar Vitaly Takmazov2018-03-28 15:25:02 +0300
commit49bf2e2971d734ed8d1e5fdc6aab284a51fa5203 (patch)
tree0fcd8b55f2c29a82d0aff7be90e6c6caddf0e278 /juick-www/src/test
parent8fa74e5555805acc8ddaa71b362cd684ef1f76c1 (diff)
h2 schema and test fixes
Diffstat (limited to 'juick-www/src/test')
-rw-r--r--juick-www/src/test/java/com/juick/WebAppTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/test/java/com/juick/WebAppTests.java b/juick-www/src/test/java/com/juick/WebAppTests.java
index ca318738..48b8c5ef 100644
--- a/juick-www/src/test/java/com/juick/WebAppTests.java
+++ b/juick-www/src/test/java/com/juick/WebAppTests.java
@@ -255,7 +255,7 @@ public class WebAppTests {
mockMvc.perform(post("/post")
.cookie(loginResult.getResponse().getCookies())
.param("img", "bad_url")).andExpect(status().isBadRequest());
- FileInputStream fi = new FileInputStream(new ClassPathResource("tagscloud.png").getFile());
+ FileInputStream fi = new FileInputStream(new ClassPathResource("static/tagscloud.png").getFile());
MockMultipartFile file = new MockMultipartFile("attach", fi);
mockMvc.perform(multipart("/post")
.file(file)