libnetconf2 REFACTOR initial libyang2 support
diff --git a/tests/client/test_client.c b/tests/client/test_client.c
index 2f2ef95..1be8fa5 100644
--- a/tests/client/test_client.c
+++ b/tests/client/test_client.c
@@ -53,8 +53,9 @@
     assert_string_equal(path, "path1");
 }
 
-const char *test_clb(const char *mod_name, const char *mod_rev, const char *submod_name, const char *sub_rev,
-                      void *user_data, LYS_INFORMAT *format, void (**free_module_data)(void *model_data, void *user_data))
+LY_ERR
+test_clb(const char *mod_name, const char *mod_rev, const char *submod_name, const char *sub_rev, void *user_data,
+        LYS_INFORMAT *format, const char **model_data, void (**free_module_data)(void *model_data, void *user_data))
 {
     (void)mod_name;
     (void)mod_rev;
@@ -62,13 +63,15 @@
     (void)sub_rev;
     (void)user_data;
     (void)format;
+    (void)model_data;
     (void)free_module_data;
 
-    return 0;
+    return LY_SUCCESS;
 }
 
-const char *test_clb1(const char *mod_name, const char *mod_rev, const char *submod_name, const char *sub_rev,
-                      void *user_data, LYS_INFORMAT *format, void (**free_module_data)(void *model_data, void *user_data))
+LY_ERR
+test_clb1(const char *mod_name, const char *mod_rev, const char *submod_name, const char *sub_rev, void *user_data,
+        LYS_INFORMAT *format, const char **model_data, void (**free_module_data)(void *model_data, void *user_data))
 {
     (void)mod_name;
     (void)mod_rev;
@@ -76,9 +79,10 @@
     (void)sub_rev;
     (void)user_data;
     (void)format;
+    (void)model_data;
     (void)free_module_data;
 
-    return 0;
+    return LY_SUCCESS;
 }
 
 static void