Skip to content

Commit f6549f0

Browse files
committed
updates
1 parent b3dddcc commit f6549f0

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

Dependencies.targets

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
3-
<DotNetVersion>[9.0.4,9.0.999]</DotNetVersion>
4-
<EFCoreVersion>[9.0.4,9.0.999]</EFCoreVersion>
5-
<MSLibVersion>[9.0.4,9.0.999]</MSLibVersion>
3+
<DotNetVersion>[9.0.5,9.0.999]</DotNetVersion>
4+
<EFCoreVersion>[9.0.5,9.0.999]</EFCoreVersion>
5+
<MSLibVersion>[9.0.5,9.0.999]</MSLibVersion>
66
</PropertyGroup>
77

88
<ItemGroup>
@@ -28,16 +28,16 @@
2828
<PackageReference Update="Microsoft.EntityFrameworkCore.Design" Version="$(EFCoreVersion)" />
2929
<PackageReference Update="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="$(EFCoreVersion)" />
3030
<PackageReference Update="Microsoft.Extensions.Logging.Console" Version="$(MSLibVersion)" />
31-
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.13.0" />
32-
<PackageReference Update="MSTest.TestAdapter" Version="3.8.3" />
33-
<PackageReference Update="MSTest.TestFramework" Version="3.8.3" />
31+
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.14.0" />
32+
<PackageReference Update="MSTest.TestAdapter" Version="3.9.1" />
33+
<PackageReference Update="MSTest.TestFramework" Version="3.9.1" />
3434
<PackageReference Update="coverlet.collector" Version="6.0.4" />
3535
<PackageReference Update="Newtonsoft.Json" Version="13.0.3" />
3636

3737
<!-- EFCore.Jet.FunctionalTests -->
3838
<PackageReference Update="xunit.core" Version="2.9.3"/>
3939
<PackageReference Update="xunit.assert" Version="2.9.3" />
40-
<PackageReference Update="xunit.runner.visualstudio" Version="3.0.2" />
40+
<PackageReference Update="xunit.runner.visualstudio" Version="3.1.0" />
4141
<PackageReference Update="xunit.runner.console" Version="2.9.3" />
4242
<PackageReference Update="Microsoft.Extensions.Configuration.FileExtensions" Version="$(MSLibVersion)" />
4343
<PackageReference Update="NetTopologySuite" Version="2.5.0" />

test/EFCore.Jet.FunctionalTests/GraphUpdates/GraphUpdatesJetTestBase.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Microsoft.EntityFrameworkCore.Storage;
88
using Microsoft.EntityFrameworkCore.TestUtilities;
99
using System.Linq;
10+
using System.Threading.Tasks;
1011
using Xunit;
1112

1213
namespace EntityFrameworkCore.Jet.FunctionalTests;
@@ -218,5 +219,17 @@ protected override void OnModelCreating(ModelBuilder modelBuilder, DbContext con
218219
modelBuilder.Entity<SharedFkDependant>().Property(x => x.Id).HasColumnType("int");
219220
modelBuilder.Entity<SharedFkParent>().Property(x => x.Id).HasColumnType("int");
220221
}
222+
223+
protected override async Task SeedAsync(PoolableDbContext context)
224+
{
225+
await base.SeedAsync(context);
226+
227+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `OptionalComposite2` DROP CONSTRAINT `FK_OptionalComposite2_OptionalAk1_ParentId_ParentAlternateId`");
228+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `OptionalOverlapping2` DROP CONSTRAINT `FK_OptionalOverlapping2_RequiredComposite1_ParentId_ParentAlter~`");
229+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `OptionalSingleComposite2` DROP CONSTRAINT `FK_OptionalSingleComposite2_OptionalSingleAk1_BackId_ParentAlte~`");
230+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `OwnedOptional2` DROP CONSTRAINT `FK_OwnedOptional2_OwnedOptional1_OwnedOptional1OwnerRootId_Owne~`");
231+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `OwnedRequired2` DROP CONSTRAINT `FK_OwnedRequired2_OwnedRequired1_OwnedRequired1OwnerRootId_Owne~`");
232+
await context.Database.ExecuteSqlAsync($"ALTER TABLE `RequiredComposite2` DROP CONSTRAINT `FK_RequiredComposite2_RequiredAk1_ParentId_ParentAlternateId`");
233+
}
221234
}
222235
}

test/EFCore.Jet.FunctionalTests/Query/AdHocJsonQueryJetTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace Microsoft.EntityFrameworkCore.Query;
1414

15-
public abstract class AdHocJsonQueryJetTestBase : AdHocJsonQueryTestBase
15+
public abstract class AdHocJsonQueryJetTestBase : AdHocJsonQueryRelationalTestBase
1616
{
1717
protected override ITestStoreFactory TestStoreFactory
1818
=> JetTestStoreFactory.Instance;

0 commit comments

Comments
 (0)