nymea / nymea-mqtt

Nymea MQTT broker
GNU General Public License v3.0
7 stars 4 forks source link

Fix tests #19

Closed mzanetti closed 2 years ago

mzanetti commented 2 years ago

When running all tests in a row, the testRetain() test would pollute subsequent tests by leaving a retained message on the server. Fixed by extending to testRetain() test also test clearing all retained messages at last.