full-producer: segment sync data
refs: #4716
Change-Id: I6776bcfd2816c1c45548c3799c1ad3e52cb3cf18
diff --git a/tests/test-full-producer.cpp b/tests/test-full-producer.cpp
index ee6764e..ce23cf8 100644
--- a/tests/test-full-producer.cpp
+++ b/tests/test-full-producer.cpp
@@ -47,7 +47,7 @@
Name syncInterestName(syncPrefix);
syncInterestName.append("malicious-IBF");
- BOOST_REQUIRE_NO_THROW(node.onInterest(syncPrefix, Interest(syncInterestName)));
+ BOOST_REQUIRE_NO_THROW(node.onSyncInterest(syncPrefix, Interest(syncInterestName)));
}
BOOST_AUTO_TEST_SUITE_END()