From 8ee6095e081bbac5a01ea2148fd5ef9986e00d15 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 19 Jul 2026 12:07:58 +0800 Subject: [PATCH] fix ci test errors --- tests/libslic3r/test_bambu_networking.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/libslic3r/test_bambu_networking.cpp b/tests/libslic3r/test_bambu_networking.cpp index f71d286071..5cf55030f8 100644 --- a/tests/libslic3r/test_bambu_networking.cpp +++ b/tests/libslic3r/test_bambu_networking.cpp @@ -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); }