1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 13:32:07 +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 // items do not need payload, to prevent payload-required error responses when
// publishing the item. // publishing the item.
config.setDeliverPayloads(false); config.setDeliverPayloads(false);
config.setPersistentItems(true);
Node node = pubSubManagerOne.createNode(nodename, config); Node node = pubSubManagerOne.createNode(nodename, config);
try { try {
LeafNode leafNode = (LeafNode) node; LeafNode leafNode = (LeafNode) node;