From 746916e7f0486026ae9b35b21cad978393a05545 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 13 Sep 2018 18:49:57 +0300 Subject: Enable XMPP in tests --- juick-server/src/test/java/com/juick/server/tests/ServerTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'juick-server') diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java index a9e68b68..185137b0 100644 --- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java +++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java @@ -130,7 +130,11 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. */ @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) -@TestPropertySource(properties = {"broken_ssl_hosts=localhost,serverstorageisfull.tld", "ios_app_id=12345678.com.juick.ExampleApp"}) +@TestPropertySource(properties = { + "broken_ssl_hosts=localhost,serverstorageisfull.tld", + "ios_app_id=12345678.com.juick.ExampleApp", + "xmppbot_jid=juick@localhost/Juick" +}) @AutoConfigureMockMvc public class ServerTests { -- cgit v1.2.3