mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-24 15:40:16 +00:00
chore: Update libxrpl to 3.2.0 (#3114)
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
#include "web/AdminVerificationStrategy.hpp"
|
||||
|
||||
#include <boost/beast/http/field.hpp>
|
||||
#include <boost/beast/http/message.hpp>
|
||||
#include <boost/beast/http/string_body.hpp>
|
||||
#include <boost/beast/http/message_fwd.hpp>
|
||||
#include <boost/beast/http/string_body_fwd.hpp>
|
||||
#include <boost/json/parse.hpp>
|
||||
#include <boost/json/value.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
@@ -65,7 +65,7 @@ TEST_F(PasswordAdminVerificationStrategyTest, IsAdminReturnsTrueOnlyForValidPass
|
||||
EXPECT_FALSE(strat_.isAdmin(makeRequest("a"), "127.0.0.1"));
|
||||
|
||||
// Wrong header
|
||||
EXPECT_FALSE(strat_.isAdmin(makeRequest(passwordHash_, http::field::authentication_info), ""));
|
||||
EXPECT_FALSE(strat_.isAdmin(makeRequest(passwordHash_, http::field::accept), ""));
|
||||
}
|
||||
|
||||
struct MakeAdminVerificationStrategyTestParams {
|
||||
|
||||
Reference in New Issue
Block a user