Skip to content

Commit

Permalink
Fix tests for 2.2.0-preview3
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Oct 18, 2018
1 parent 7b7378e commit d63c46b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/EFCore.PG.FunctionalTests/F1NpgsqlFixture.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.TestModels.ConcurrencyModel;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions;
using Npgsql.EntityFrameworkCore.PostgreSQL.TestUtilities;

namespace Npgsql.EntityFrameworkCore.PostgreSQL
Expand All @@ -9,6 +10,9 @@ public class F1NpgsqlFixture : F1RelationalFixture
{
protected override ITestStoreFactory TestStoreFactory => NpgsqlTestStoreFactory.Instance;

public override ModelBuilder CreateModelBuilder()
=> new ModelBuilder(NpgsqlConventionSetBuilder.Build());

protected override void OnModelCreating(ModelBuilder modelBuilder, DbContext context)
{
base.OnModelCreating(modelBuilder, context);
Expand Down

0 comments on commit d63c46b

Please sign in to comment.