Add enhanced auth unit tests

Summary: related to T12015

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D27425
This commit is contained in:
Korina Šimičević
2024-01-18 10:37:13 +01:00
parent 6267c5f706
commit 1485d5ec8b
4 changed files with 265 additions and 13 deletions

View File

@@ -112,8 +112,7 @@ BOOST_AUTO_TEST_CASE(tcp_client_check) {
using client_type = mqtt_client<stream_type>;
client_type c(ioc, "");
c.credentials("tcp-tester", "", "")
.brokers("broker.hivemq.com", 1883)
c.brokers("broker.hivemq.com", 1883)
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
.async_run(asio::detached);