yang-cli: Allow editing ops data

Change-Id: Ica85cacac7fed0b052687b7262a76411a03e80f1
diff --git a/tests/keyvalue_completion.cpp b/tests/keyvalue_completion.cpp
index 3a1656d..dd826f4 100644
--- a/tests/keyvalue_completion.cpp
+++ b/tests/keyvalue_completion.cpp
@@ -33,7 +33,7 @@
         .RETURN(schema);
     auto dataQuery = std::make_shared<DataQuery>(*mockDatastore);
     expectation.reset();
-    Parser parser(schema, dataQuery);
+    Parser parser(schema, WritableOps::No, dataQuery);
     std::string input;
     std::ostringstream errorStream;
 
diff --git a/tests/path_completion.cpp b/tests/path_completion.cpp
index 3002ed7..249dc8c 100644
--- a/tests/path_completion.cpp
+++ b/tests/path_completion.cpp
@@ -52,7 +52,7 @@
         .RETURN(schema);
     auto dataQuery = std::make_shared<DataQuery>(*mockDatastore);
     expectation.reset();
-    Parser parser(schema, dataQuery);
+    Parser parser(schema, WritableOps::No, dataQuery);
     std::string input;
     std::ostringstream errorStream;
 
diff --git a/tests/set_value_completion.cpp b/tests/set_value_completion.cpp
index c3ad64a..dd36e34 100644
--- a/tests/set_value_completion.cpp
+++ b/tests/set_value_completion.cpp
@@ -38,7 +38,7 @@
     auto expectation = NAMED_REQUIRE_CALL(*mockDatastore, schema())
         .RETURN(schema);
     auto dataQuery = std::make_shared<DataQuery>(*mockDatastore);
-    Parser parser(schema, dataQuery);
+    Parser parser(schema, WritableOps::No, dataQuery);
     std::string input;
     std::ostringstream errorStream;