1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

Also set persist items to true in PubSubIntegrationTest

This commit is contained in:
Florian Schmaus 2018-02-22 15:05:12 +01:00
parent e1eb2d4ef1
commit 1bd3469fec

View file

@ -58,6 +58,7 @@ public class PubSubIntegrationTest extends AbstractSmackIntegrationTest {
// items do not need payload, to prevent payload-required error responses when
// publishing the item.
config.setDeliverPayloads(false);
config.setPersistentItems(true);
Node node = pubSubManagerOne.createNode(nodename, config);
try {
LeafNode leafNode = (LeafNode) node;