diff mbox series

test: fix test_server_hawkbit after 203b1a83

Message ID 20201128130444.432261-1-sbabic@denx.de
State Accepted
Headers show
Series test: fix test_server_hawkbit after 203b1a83 | expand

Commit Message

Stefano Babic Nov. 28, 2020, 1:04 p.m. UTC
Last commit add an additional call to save_state()

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 test/test_server_hawkbit.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/test/test_server_hawkbit.c b/test/test_server_hawkbit.c
index e2a05f8..9c7c128 100644
--- a/test/test_server_hawkbit.c
+++ b/test/test_server_hawkbit.c
@@ -247,6 +247,7 @@  static void test_server_has_pending_action(void **state)
 		    json_tokener_parse(json_reply_cancel_data));
 	will_return(__wrap_channel_get, CHANNEL_OK);
 	will_return(__wrap_channel_put, CHANNEL_OK);
+	will_return(__wrap_save_state, SERVER_OK);
 	assert_int_equal(SERVER_OK, server_has_pending_action(&action_id));
 }