Skip to content

Commit

Permalink
updates test dependencies (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen authored Mar 11, 2023
1 parent 6d31ea4 commit c3a0a66
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions test/MsSqlCdc.Tests/CdcTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ namespace MsSqlCdc.Tests;

public class CdcTests : IClassFixture<DatabaseFixture>
{
// This constructor is needed for fixture to be executed.
public CdcTests(DatabaseFixture _) { }

[Fact]
[Trait("Category", "Integration")]
public async Task Get_min_lsn()
Expand Down
3 changes: 2 additions & 1 deletion test/MsSqlCdc.Tests/DatabaseFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

namespace MsSqlCdc.Tests;

internal class DatabaseFixture
// This needs to be public, otherwise the test framework won't recognize it.
public sealed class DatabaseFixture
{
private const string MasterDatabaseName = "master";
private const string TestDatabaseName = "mssql_cdc_test";
Expand Down
12 changes: 6 additions & 6 deletions test/MsSqlCdc.Tests/MsSqlCdc.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="161.46521.71" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="FluentAssertions" Version="6.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="170.13.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit c3a0a66

Please sign in to comment.