Add parser support for YANG actions
Change-Id: I9e96ae15cee3f990dfa5ec3fac433faf71348e11
diff --git a/tests/interpreter.cpp b/tests/interpreter.cpp
index a88aa48..966855d 100644
--- a/tests/interpreter.cpp
+++ b/tests/interpreter.cpp
@@ -442,12 +442,12 @@
{
dataPath_ rpcPath;
rpcPath.pushFragment({{"example"}, rpcNode_{"launch-nukes"}});
- rpc_ rpcCmd;
- rpcCmd.m_path = rpcPath;
+ prepare_ prepareCmd;
+ prepareCmd.m_path = rpcPath;
{
REQUIRE_CALL(*input_datastore, createItem("/example:launch-nukes"));
- boost::apply_visitor(Interpreter(parser, proxyDatastore), command_{rpcCmd});
+ boost::apply_visitor(Interpreter(parser, proxyDatastore), command_{prepareCmd});
}
REQUIRE(parser.currentPath() == rpcPath);