tests: stop using deprecated {get,set}FinalBlockId
Change-Id: Ibe3f7b394487773139ec4e17d2b87ca8cb06504a
diff --git a/tests/tools/ndn-autoconfig-server/program.t.cpp b/tests/tools/ndn-autoconfig-server/program.t.cpp
index 7a4a216..1b928b0 100644
--- a/tests/tools/ndn-autoconfig-server/program.t.cpp
+++ b/tests/tools/ndn-autoconfig-server/program.t.cpp
@@ -105,7 +105,7 @@
BOOST_CHECK(dataName0.at(-2).isVersion());
BOOST_CHECK(dataName0.at(-1).isSegment());
- while (face.sentData.back().getFinalBlockId() != face.sentData.back().getName().at(-1)) {
+ while (face.sentData.back().getFinalBlock() != face.sentData.back().getName().at(-1)) {
const Name& lastName = face.sentData.back().getName();
Interest interest2(lastName.getPrefix(-1).appendSegment(lastName.at(-1).toSegment() + 1));
face.receive(interest2);