File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
tests/Database.Updater.Tests Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 33 <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
44 </PropertyGroup >
55 <ItemGroup >
6- <PackageVersion Include =" FluentAssertions" Version =" 7.2.0" />
6+ <PackageVersion Include =" coverlet.collector" Version =" 6.0.4" />
7+ <PackageVersion Include =" FluentAssertions" Version =" 8.7.0" />
78 <PackageVersion Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.0" />
89 <PackageVersion Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 8.0.0" />
910 <PackageVersion Include =" Microsoft.Extensions.Hosting" Version =" 8.0.0" />
11+ <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1" />
1012 <PackageVersion Include =" PosInformatique.Testing.Databases.SqlServer" Version =" 3.0.0-rc.4" />
1113 <PackageVersion Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.556" />
1214 <PackageVersion Include =" System.CommandLine" Version =" 2.0.0-rc.1.25451.107" />
13- <PackageVersion Include =" xunit.v3" Version =" 3.0.1" />
15+ <PackageVersion Include =" xunit.v3" Version =" 3.1.0" />
16+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.1.5" />
1417 </ItemGroup >
1518</Project >
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <ItemGroup >
10+ <PackageReference Include =" coverlet.collector" >
11+ <PrivateAssets >all</PrivateAssets >
12+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13+ </PackageReference >
1014 <PackageReference Include =" FluentAssertions" />
15+ <PackageReference Include =" Microsoft.NET.Test.Sdk" />
1116 <PackageReference Include =" PosInformatique.Testing.Databases.SqlServer" />
17+ <PackageReference Include =" xunit.runner.visualstudio" >
18+ <PrivateAssets >all</PrivateAssets >
19+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
20+ </PackageReference >
1221 <PackageReference Include =" xunit.v3" />
1322 </ItemGroup >
1423
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ namespace PosInformatique.Database.Updater.Tests
1212 [ Collection ( nameof ( DatabaseUpdaterTest ) ) ]
1313 public class DatabaseUpdaterTest
1414 {
15+ static DatabaseUpdaterTest ( )
16+ {
17+ License . Accepted = true ;
18+ }
19+
1520 [ Fact ]
1621 public async Task UpgradeAsync_WithExplicitMigrationsAssembly ( )
1722 {
You can’t perform that action at this time.
0 commit comments