diff --git a/src/Configuration.Peristence.IdentityServer/ApiAuthorizationDbContext.cs b/src/Configuration.Peristence.IdentityServer/ApiAuthorizationDbContext.cs index dade315..e2a3450 100644 --- a/src/Configuration.Peristence.IdentityServer/ApiAuthorizationDbContext.cs +++ b/src/Configuration.Peristence.IdentityServer/ApiAuthorizationDbContext.cs @@ -2,6 +2,7 @@ namespace Kritikos.Configuration.Peristence.IdentityServer { using System; + using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; @@ -26,6 +27,7 @@ namespace Kritikos.Configuration.Peristence.IdentityServer /// /// /// + [ExcludeFromCodeCoverage] public abstract class ApiAuthorizationDbContext : IdentityDbContext, IPersistedGrantDbContext, diff --git a/src/Configuration.Peristence.IdentityServer/ApiAuthorizationPooledDbContext.cs b/src/Configuration.Peristence.IdentityServer/ApiAuthorizationPooledDbContext.cs index 5ef32eb..6db07f0 100644 --- a/src/Configuration.Peristence.IdentityServer/ApiAuthorizationPooledDbContext.cs +++ b/src/Configuration.Peristence.IdentityServer/ApiAuthorizationPooledDbContext.cs @@ -2,6 +2,7 @@ namespace Kritikos.Configuration.Peristence.IdentityServer { using System; + using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; @@ -29,6 +30,7 @@ namespace Kritikos.Configuration.Peristence.IdentityServer /// /// Could not resolve an instance of . /// Could not resolve an instance of . + [ExcludeFromCodeCoverage] public abstract class ApiAuthorizationPooledDbContext : IdentityDbContext, IPersistedGrantDbContext,