1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +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;