aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-13 18:49:57 +0300
committerGravatar Vitaly Takmazov2018-09-13 18:49:57 +0300
commit746916e7f0486026ae9b35b21cad978393a05545 (patch)
treee01ae2b8910de2d1b81b20ee8664744c97207629 /juick-server/src/test
parent81d8aa968c4f0f38a607ae85108569b23f5e5958 (diff)
Enable XMPP in tests
Diffstat (limited to 'juick-server/src/test')
-rw-r--r--juick-server/src/test/java/com/juick/server/tests/ServerTests.java6
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 {