Skip to content

Commit

Permalink
test: Do not always expect a row from the secureboot table (#7967)
Browse files Browse the repository at this point in the history
For instance if the machine is not using UEFI,
or there is any error, the table won't return a row.
  • Loading branch information
Smjert committed Mar 22, 2023
1 parent f916310 commit f7feecc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/integration/tables/secureboot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ TEST_F(Secureboot, test_sanity) {

auto secureboot_data = execute_query("SELECT * FROM secureboot;");

// There should always be exactly 1 row, regardless:
ASSERT_EQ(secureboot_data.size(), 1);

// Values should only ever be integers or empty:
ValidationMap row_map{
{"secure_boot", IntOrEmpty},
Expand Down

0 comments on commit f7feecc

Please sign in to comment.