mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Also set persist items to true in PubSubIntegrationTest
This commit is contained in:
parent
e1eb2d4ef1
commit
1bd3469fec
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue