mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-15 23:19:22 +01:00
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:
@@ -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 */) {}
|
||||
|
||||
Reference in New Issue
Block a user