mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 11:53:12 +00:00
test: sync cross-platform LocalDB guard
This commit is contained in:
commit
1ede0a5ece
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