From 9873aaa8a0868b3a0efe3ea330cb3b7d8e9a25bb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 13 Nov 2020 18:26:23 +0000 Subject: [PATCH] tests: Add a serialization test for adoptable data Pointed out in code review in https://github.com/coreos/bootupd/pull/104 --- tests/fixtures/example-status-v0.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/fixtures/example-status-v0.json b/tests/fixtures/example-status-v0.json index 11af285e..3df41595 100644 --- a/tests/fixtures/example-status-v0.json +++ b/tests/fixtures/example-status-v0.json @@ -14,5 +14,13 @@ "adopted-from": null } }, - "adoptable": {} + "adoptable": { + "BIOS": { + "version": { + "version": "grub2-bios-42.x86_64", + "timestamp": "2020-09-15T13:01:21Z" + }, + "confident": true + } + } }