fixing ambiguous

This commit is contained in:
Chris Mc
2020-04-15 23:52:17 -04:00
parent 385afc3bd7
commit 5df90e9c11

View File

@@ -325,7 +325,7 @@ TEST(TokenTest, VerifyFail) {
auto verify = jwt::verify()
.allow_algorithm(jwt::algorithm::none{})
.with_issuer("auth0")
.with_audience({ "test" });
.with_audience(std::set<std::string>{ "test" });
ASSERT_THROW(verify.verify(decoded_token), jwt::token_verification_exception);
}
{