fix ci test errors

This commit is contained in:
SoftFever
2026-07-19 12:07:58 +08:00
parent 779768d76e
commit 8ee6095e08

View File

@@ -59,7 +59,9 @@ TEST_CASE("NetworkLibraryVersionInfo::from_static", "[BambuNetworking]") {
REQUIRE(info.suffix == "");
REQUIRE(info.display_name == "02.03.00.62");
REQUIRE(info.url_override == "");
REQUIRE(info.is_latest == true);
// from_static no longer propagates the static is_latest flag; it is a placeholder
// that get_all_available_versions() assigns once the list is sorted newest-first.
REQUIRE(info.is_latest == false);
REQUIRE(info.warning == "");
REQUIRE(info.is_discovered == false);
}