Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

test_self_update: networkTestsOff is sf::test's

islandmed12a89aeece01
diff --git a/tests/test_self_update.cpp b/tests/test_self_update.cpp
index d84b021b..059e3979 100644
--- a/tests/test_self_update.cpp
+++ b/tests/test_self_update.cpp
@@ -608,7 +608,7 @@ TEST(member_builds_release_list) {
// The real thing, once: a public release file through GitHub's redirect to its asset host, with the restricted
// client (every hop allowed, certificates checked). Catches GitHub moving its asset host away from the allowlist.
TEST(self_update_live_github_redirect) {
- if (networkTestsOff()) return;
+ if (sf::test::networkTestsOff()) return;
std::string body;
const ai::HttpResponse r = ai::httpGetRestricted(
releaseFileUrl("0.11.0", "SHA256SUMS.txt"), allowedUpdateUrl, 30, [&](const char* d, size_t n) {