mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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
|
||||
// publishing the item.
|
||||
config.setDeliverPayloads(false);
|
||||
config.setPersistentItems(true);
|
||||
Node node = pubSubManagerOne.createNode(nodename, config);
|
||||
try {
|
||||
LeafNode leafNode = (LeafNode) node;
|
||||
|
|
Loading…
Reference in a new issue