mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 06:03:12 +00:00
fix(test): guard LocalDB migration check by platform
This commit is contained in:
parent
bdd566de83
commit
af724ff625
1 changed files with 3 additions and 0 deletions
|
|
@ -136,6 +136,9 @@ public class Phase4SearchIndexesSqlServerTests
|
|||
|
||||
private static async Task<bool> IsLocalDbAvailableAsync()
|
||||
{
|
||||
if (!OperatingSystem.IsWindows())
|
||||
return false;
|
||||
|
||||
try
|
||||
{
|
||||
await using var connection = new SqlConnection(LocalDbMaster);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue