don't use deprecated block helpers
refs #2950
Change-Id: Icd065b2daaad6faa0f0d876e14c317fc3d8645a8
diff --git a/tests/unit/database-test-data.cpp b/tests/unit/database-test-data.cpp
index df43338..077d09b 100644
--- a/tests/unit/database-test-data.cpp
+++ b/tests/unit/database-test-data.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014, Regents of the University of California.
+ * Copyright (c) 2014-2016, Regents of the University of California.
*
* This file is part of NDNS (Named Data Networking Domain Name Service).
* See AUTHORS.md for complete list of NDNS authors and contributors.
@@ -132,7 +132,7 @@
if (msg.size() > 0) {
if (type == label::CERT_RR_TYPE)
- re.setAppContent(dataBlock(ndn::tlv::Content, msg.c_str(), msg.size()));
+ re.setAppContent(makeBinaryBlock(ndn::tlv::Content, msg.c_str(), msg.size()));
else
re.addRr(msg);
}