From 4a9c124b91fb9ae6f3bba62a052792ff698dda00 Mon Sep 17 00:00:00 2001 From: Lasse Rosenow Date: Fri, 12 Apr 2024 18:22:08 +0200 Subject: [PATCH] fixup! tests/unittests: add registry_storage_vfs tests Fix new registry_node_t format --- .../tests-registry_storage_vfs/tests-registry_storage_vfs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/unittests/tests-registry_storage_vfs/tests-registry_storage_vfs.c b/tests/unittests/tests-registry_storage_vfs/tests-registry_storage_vfs.c index 29e741b2da53..ed8e947fdec0 100644 --- a/tests/unittests/tests-registry_storage_vfs/tests-registry_storage_vfs.c +++ b/tests/unittests/tests-registry_storage_vfs/tests-registry_storage_vfs.c @@ -89,8 +89,10 @@ static void tests_load_and_save(void) { registry_node_t node = { .type = REGISTRY_NODE_PARAMETER, - .location.parameter = ®istry_tests_nested_group_parameter, - .instance = &test_nested_instance, + .value.parameter = { + .instance = &test_nested_instance, + ®istry_tests_nested_group_parameter, + }, }; /* set input to 8 */