mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
updates to unit tests to support new connection and processor api that includes RNG
This commit is contained in:
@@ -84,7 +84,8 @@ struct stub_config : public websocketpp::config::core {
|
||||
BOOST_AUTO_TEST_CASE( connection_extensions ) {
|
||||
stub_config::alog_type alog;
|
||||
stub_config::elog_type elog;
|
||||
websocketpp::connection<stub_config> s(true,"",alog,elog);
|
||||
stub_config::rng_type rng;
|
||||
websocketpp::connection<stub_config> s(true,"",alog,elog,rng);
|
||||
|
||||
BOOST_CHECK( s.extension_value == 5 );
|
||||
BOOST_CHECK( s.extension_method() == 5 );
|
||||
|
||||
Reference in New Issue
Block a user