diff --git a/tests/cellular_intent_protocol_tests.cpp b/tests/cellular_intent_protocol_tests.cpp index a98d7e9..af57acb 100644 --- a/tests/cellular_intent_protocol_tests.cpp +++ b/tests/cellular_intent_protocol_tests.cpp @@ -117,9 +117,11 @@ void v7_reliable_action_is_stable_and_strict() { } void v8_perception_is_bounded_and_canonical() { - const CellularPerception perception{ - 19, 42, {{1'000, 2'000, 3, {4, 5, 6, 7}}, {1'000, 3'000, 8, {9, 10, 11, 12}}}, - std::nullopt}; + CellularPerception perception{19, 42, {}, std::nullopt}; + perception.patches = { + {1'000, 2'000, 3, {4, 5, 6, 7}}, + {1'000, 3'000, 8, {9, 10, 11, 12}}, + }; const auto bytes = encode_session(SessionMessage{perception}); CHECK(!bytes.empty() && bytes.size() == session_header_bytes + 18 + std::size_t{2} * 48); std::uint16_t version{};