Skip to content

Commit e15a2b6

Browse files
committed
Fix build errors
1 parent fd467e9 commit e15a2b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests/EnrichNpgsqlTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Aspire.Components.Common.Tests;
5-
using Microsoft.DotNet.XUnitExtensions;
65
using Microsoft.EntityFrameworkCore;
76
using Microsoft.EntityFrameworkCore.Infrastructure.Internal;
87
using Microsoft.EntityFrameworkCore.Storage;
@@ -50,7 +49,7 @@ public void ShouldNotThrowIfDbContextIsRegistered()
5049

5150
protected override void SetupConnectionInformationIsDelayValidated()
5251
{
53-
throw new SkipTestException("Enrich doesn't use ConnectionString");
52+
Assert.Skip("Enrich doesn't use ConnectionString");
5453
}
5554

5655
[Fact]

0 commit comments

Comments
 (0)