Skip to content

Commit

Permalink
Use InMemory SQL for cross-plat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock committed Jan 3, 2024
1 parent 6c9e08b commit 04a5879
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ static IntegrationTest()
{
TestDatabaseProviders = new TheoryData<DbContextOptions<TDbContext>>
{
DatabaseProviderBuilder.BuildInMemory<TDbContext, TStoreOption>(typeof(TClass).Name, StoreOptions),
//DatabaseProviderBuilder.BuildSqlite<TDbContext, TStoreOption>(typeof(TClass).Name, StoreOptions)
//DatabaseProviderBuilder.BuildInMemory<TDbContext, TStoreOption>(typeof(TClass).Name, StoreOptions),
DatabaseProviderBuilder.BuildSqlite<TDbContext, TStoreOption>(typeof(TClass).Name, StoreOptions)
};
Console.WriteLine("Skipping DB integration tests on non-Windows");
}
Expand Down
4 changes: 2 additions & 2 deletions test/EntityFramework.Tests/IntegrationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ static IntegrationTest()
{
TestDatabaseProviders = new TheoryData<DbContextOptions<TDbContext>>
{
DatabaseProviderBuilder.BuildInMemory<TDbContext, TStoreOption>(typeof(TClass).Name, Activator.CreateInstance<TStoreOption>()),
//DatabaseProviderBuilder.BuildSqlite<TDbContext, TStoreOption>(typeof(TClass).Name, Activator.CreateInstance<TStoreOption>())
//DatabaseProviderBuilder.BuildInMemory<TDbContext, TStoreOption>(typeof(TClass).Name, Activator.CreateInstance<TStoreOption>()),
DatabaseProviderBuilder.BuildSqlite<TDbContext, TStoreOption>(typeof(TClass).Name, Activator.CreateInstance<TStoreOption>())
};
Console.WriteLine("Skipping DB integration tests on non-Windows");
}
Expand Down

0 comments on commit 04a5879

Please sign in to comment.