diff --git a/tests/test_nacm.c b/tests/test_nacm.c index 2f0bc50f..fe0b98ba 100644 --- a/tests/test_nacm.c +++ b/tests/test_nacm.c @@ -573,7 +573,7 @@ test_edit_config_update(void **state) ASSERT_OK_REPLY(st); FREE_TEST_VARS(st); - GET_CONFIG(st); + GET_CONFIG_FILTER(st, "/edit1:*"); expected = "\n" " \n" @@ -745,7 +745,7 @@ test_edit_config_when(void **state) SEND_EDIT_RPC(st, data); ASSERT_OK_REPLY(st); FREE_TEST_VARS(st); - GET_CONFIG(st); + GET_CONFIG_FILTER(st, "/nacm-test1:*"); expected = "\n \n\n"; assert_string_equal(st->str, expected); FREE_TEST_VARS(st); @@ -957,7 +957,7 @@ test_commit(void **state) ASSERT_OK_REPLY(st); FREE_TEST_VARS(st); - GET_CONFIG(st); + GET_CONFIG_FILTER(st, "/nacm-test1:*"); expected = "\n" " \n" @@ -1013,7 +1013,7 @@ test_discard_changes(void **state) ASSERT_OK_REPLY(st); FREE_TEST_VARS(st); - GET_CONFIG_DS_FILTER(st, NC_DATASTORE_CANDIDATE, NULL); + GET_CONFIG_DS_FILTER(st, NC_DATASTORE_CANDIDATE, "/edit1:*"); expected = "\n" " \n"