Commit 756289d459468bada27300d90a55b1952f883722
1 parent
0e79ef5d
Fix bug in persistence tests
It tested the wrong thing. Tests still pass.
Showing
1 changed file
with
1 additions
and
1 deletions
FlashMQTests/tst_maintests.cpp
| ... | ... | @@ -1069,7 +1069,7 @@ void MainTests::testSavingSessions() |
| 1069 | 1069 | store->getSubscriptions(&store->root, "", true, store1Subscriptions); |
| 1070 | 1070 | |
| 1071 | 1071 | std::unordered_map<std::string, std::list<SubscriptionForSerializing>> store2Subscriptions; |
| 1072 | - store->getSubscriptions(&store->root, "", true, store2Subscriptions); | |
| 1072 | + store2->getSubscriptions(&store->root, "", true, store2Subscriptions); | |
| 1073 | 1073 | |
| 1074 | 1074 | MYCASTCOMPARE(store1Subscriptions.size(), 4); |
| 1075 | 1075 | MYCASTCOMPARE(store2Subscriptions.size(), 4); | ... | ... |