Avoid deprecated ndn-cxx functions
Change-Id: I763368c2ea12902b4ea400f92c23b17ad5a5628e
diff --git a/tests/test-common.hpp b/tests/test-common.hpp
index 0f18dd7..2a1e607 100644
--- a/tests/test-common.hpp
+++ b/tests/test-common.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2021, The University of Memphis,
+ * Copyright (c) 2014-2022, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -24,10 +24,10 @@
#include "common.hpp"
#include "conf-parameter.hpp"
-#include "identity-management-fixture.hpp"
+#include "route/fib.hpp"
#include "boost-test.hpp"
-#include "route/fib.hpp"
+#include "identity-management-fixture.hpp"
#include <boost/asio.hpp>
@@ -132,7 +132,7 @@
payload2.wireEncode(buffer);
payload1.wireEncode(buffer);
- this->sendDatasetReply(prefix, buffer.buf(), buffer.size());
+ this->sendDatasetReply(prefix, buffer);
}
/** \brief send a payload in reply to StatusDataset request
@@ -186,7 +186,6 @@
conf.setSiteName(siteName);
conf.setRouterName(routerName);
conf.buildRouterAndSyncUserPrefix();
-
conf.setSyncProtocol(protocol);
conf.setHyperbolicState(hyperbolicState);
}