parser schema CHANGE always return non-const modules
Refs #1645
diff --git a/tests/utests/extensions/test_metadata.c b/tests/utests/extensions/test_metadata.c
index 1022117..8ebe67b 100644
--- a/tests/utests/extensions/test_metadata.c
+++ b/tests/utests/extensions/test_metadata.c
@@ -21,7 +21,7 @@
static void
test_yang(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_ext_instance *e;
const char *data = "module a {yang-version 1.1; namespace urn:tests:extensions:metadata:a; prefix a;"
@@ -92,7 +92,7 @@
static void
test_yin(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_ext_instance *e;
const char *data;
diff --git a/tests/utests/extensions/test_nacm.c b/tests/utests/extensions/test_nacm.c
index 76280da..2298dea 100644
--- a/tests/utests/extensions/test_nacm.c
+++ b/tests/utests/extensions/test_nacm.c
@@ -30,7 +30,7 @@
static void
test_deny_all(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_node_container *cont;
struct lysc_node_leaf *leaf;
struct lysc_ext_instance *e;
@@ -73,7 +73,7 @@
static void
test_deny_write(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_node_container *cont;
struct lysc_node_leaf *leaf;
struct lysc_ext_instance *e;
diff --git a/tests/utests/extensions/test_yangdata.c b/tests/utests/extensions/test_yangdata.c
index 5e5cdcc..e45cdae 100644
--- a/tests/utests/extensions/test_yangdata.c
+++ b/tests/utests/extensions/test_yangdata.c
@@ -30,7 +30,7 @@
static void
test_schema(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_ext_instance *e;
char *printed = NULL;
const char *data = "module a {yang-version 1.1; namespace urn:tests:extensions:yangdata:a; prefix self;"
@@ -236,7 +236,7 @@
static void
test_data(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
struct lysc_ext_instance *e;
struct lyd_node *tree = NULL;
const char *schema = "module a {yang-version 1.1; namespace urn:tests:extensions:yangdata:a; prefix self;"