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 ;
4
1
using Microsoft . EntityFrameworkCore ;
5
2
using Microsoft . Extensions . Configuration ;
3
+ using System ;
4
+ using System . Collections . Generic ;
5
+ using System . Linq ;
6
+ using System . Runtime . InteropServices ;
6
7
using Xunit ;
7
8
8
9
namespace IdentityServer4 . EntityFramework . IntegrationTests
@@ -17,7 +18,7 @@ namespace IdentityServer4.EntityFramework.IntegrationTests
17
18
public class IntegrationTest < TClass , TDbContext , TStoreOption > : IClassFixture < DatabaseProviderFixture < TDbContext > >
18
19
where TDbContext : DbContext
19
20
{
20
- public static readonly TheoryData < DbContextOptions < TDbContext > > TestDatabaseProviders ;
21
+ public static readonly IReadOnlyCollection < object [ ] > TestDatabaseProviders ;
21
22
protected readonly TStoreOption StoreOptions = Activator . CreateInstance < TStoreOption > ( ) ;
22
23
23
24
static IntegrationTest ( )
@@ -50,7 +51,7 @@ static IntegrationTest()
50
51
51
52
protected IntegrationTest ( DatabaseProviderFixture < TDbContext > fixture )
52
53
{
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 ( ) ;
54
55
fixture . StoreOptions = StoreOptions ;
55
56
}
56
57
}
You can’t perform that action at this time.
0 commit comments