File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/EntityFramework/test/IdentityServer4.EntityFramework.Tests Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using System . Linq ;
3- using System . Runtime . InteropServices ;
41using Microsoft . EntityFrameworkCore ;
52using Microsoft . Extensions . Configuration ;
3+ using System ;
4+ using System . Collections . Generic ;
5+ using System . Linq ;
6+ using System . Runtime . InteropServices ;
67using Xunit ;
78
89namespace IdentityServer4 . EntityFramework . IntegrationTests
@@ -17,7 +18,7 @@ namespace IdentityServer4.EntityFramework.IntegrationTests
1718 public class IntegrationTest < TClass , TDbContext , TStoreOption > : IClassFixture < DatabaseProviderFixture < TDbContext > >
1819 where TDbContext : DbContext
1920 {
20- public static readonly TheoryData < DbContextOptions < TDbContext > > TestDatabaseProviders ;
21+ public static readonly IReadOnlyCollection < object [ ] > TestDatabaseProviders ;
2122 protected readonly TStoreOption StoreOptions = Activator . CreateInstance < TStoreOption > ( ) ;
2223
2324 static IntegrationTest ( )
@@ -50,7 +51,7 @@ static IntegrationTest()
5051
5152 protected IntegrationTest ( DatabaseProviderFixture < TDbContext > fixture )
5253 {
53- fixture . Options = TestDatabaseProviders . SelectMany ( x => x . Select ( y => ( DbContextOptions < TDbContext > ) y ) ) . ToList ( ) ;
54+ fixture . Options = TestDatabaseProviders . SelectMany ( x => x . Select ( y => ( DbContextOptions < TDbContext > ) y ) ) . ToList ( ) ;
5455 fixture . StoreOptions = StoreOptions ;
5556 }
5657 }
You can’t perform that action at this time.
0 commit comments