From af724ff625e43585d84dfbd1a27dd779fed56732 Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Fri, 24 Jul 2026 13:10:50 -0300 Subject: [PATCH] fix(test): guard LocalDB migration check by platform --- SeaHavenIndustries.Tests/Phase4SearchIndexesSqlServerTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SeaHavenIndustries.Tests/Phase4SearchIndexesSqlServerTests.cs b/SeaHavenIndustries.Tests/Phase4SearchIndexesSqlServerTests.cs index 0ed2280..15acce5 100644 --- a/SeaHavenIndustries.Tests/Phase4SearchIndexesSqlServerTests.cs +++ b/SeaHavenIndustries.Tests/Phase4SearchIndexesSqlServerTests.cs @@ -136,6 +136,9 @@ public class Phase4SearchIndexesSqlServerTests private static async Task IsLocalDbAvailableAsync() { + if (!OperatingSystem.IsWindows()) + return false; + try { await using var connection = new SqlConnection(LocalDbMaster);