data FEATURE parser for YANG data in JSON format
diff --git a/tests/utests/data/test_new.c b/tests/utests/data/test_new.c
index 21eb126..50a7740 100644
--- a/tests/utests/data/test_new.c
+++ b/tests/utests/data/test_new.c
@@ -196,14 +196,14 @@
opq = (struct lyd_node_opaq *)root;
assert_string_equal(opq->name, "node1");
assert_string_equal(opq->value, "");
- assert_string_equal(opq->prefix.ns, "my-module");
+ assert_string_equal(opq->prefix.module_name, "my-module");
assert_int_equal(lyd_new_opaq(root, NULL, "node2", "value", "my-module2", &node), LY_SUCCESS);
assert_null(node->schema);
opq = (struct lyd_node_opaq *)node;
assert_string_equal(opq->name, "node2");
assert_string_equal(opq->value, "value");
- assert_string_equal(opq->prefix.ns, "my-module2");
+ assert_string_equal(opq->prefix.module_name, "my-module2");
assert_ptr_equal(opq->parent, root);
lyd_free_tree(root);