face: Renaming (remove)registerPrefix to (unset)interestFilter
Change-Id: I1a9d4905f53c3352d916f5762c5471491f004cd2
diff --git a/tests/test-publish-async.cpp b/tests/test-publish-async.cpp
index a8d98a4..270e6fc 100644
--- a/tests/test-publish-async.cpp
+++ b/tests/test-publish-async.cpp
@@ -124,7 +124,7 @@
Echo echo(keyChain, certificateName);
Name prefix("/testecho");
cout << "Register prefix " << prefix.toUri() << endl;
- face.registerPrefix(prefix, func_lib::ref(echo), func_lib::ref(echo));
+ face.setInterestFilter(prefix, func_lib::ref(echo), func_lib::ref(echo));
// The main event loop.
// Wait forever to receive one interest for the prefix.