From f7e4008722614e33920072499e2c83e67a1c5b77 Mon Sep 17 00:00:00 2001 From: Lasse Rosenow Date: Fri, 12 Apr 2024 18:21:51 +0200 Subject: [PATCH] fixup! tests/unittests: add registry_storage_heap tests Fix new registry_node_t format --- .../tests-registry_storage_heap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */