diff --git a/tests/unittests/tests-registry_storage_heap/tests-registry_storage_heap.c b/tests/unittests/tests-registry_storage_heap/tests-registry_storage_heap.c index eb6ed5b98919..5948cfc7d0d6 100644 --- a/tests/unittests/tests-registry_storage_heap/tests-registry_storage_heap.c +++ b/tests/unittests/tests-registry_storage_heap/tests-registry_storage_heap.c @@ -68,8 +68,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, + .parameter = ®istry_tests_nested_group_parameter, + }, }; /* set input to 8 */