diff options
author | Vitaly Takmazov | 2018-09-13 18:49:57 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-13 18:49:57 +0300 |
commit | 746916e7f0486026ae9b35b21cad978393a05545 (patch) | |
tree | e01ae2b8910de2d1b81b20ee8664744c97207629 /juick-server | |
parent | 81d8aa968c4f0f38a607ae85108569b23f5e5958 (diff) |
Enable XMPP in tests
Diffstat (limited to 'juick-server')
-rw-r--r-- | juick-server/src/test/java/com/juick/server/tests/ServerTests.java | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |