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ć committed 2024-01-18 11:52:07 +01:00
1 parent 6267c5f706
commit 1485d5ec8b
4 files changed
+265 -13

No files matched your search

+2 -4
View File
@@ -20,8 +20,7 @@ using namespace async_mqtt5;
BOOST_AUTO_TEST_SUITE(traits/*, *boost::unit_test::disabled()*/)
class good_authenticator {
public:
struct good_authenticator {
good_authenticator() = default;
template <typename CompletionToken>
@@ -44,8 +43,7 @@ public:
}
};
class bad_authenticator {
public:
struct bad_authenticator {
bad_authenticator() = default;
void async_auth(std::string /* data */) {}