Browse Source
Merge pull request #6581 from XVll/dev
Typo on IdentityClaimTypeManager
pull/6592/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
7 deletions
-
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityClaimTypeManager.cs
-
modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/IdentityClaimTypeManager_Tests.cs
|
|
@ -3,12 +3,11 @@ using Volo.Abp.Domain.Services; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.Identity |
|
|
namespace Volo.Abp.Identity |
|
|
{ |
|
|
{ |
|
|
//TODO: Rename to IdentityClaimTypeManager in v2.0!
|
|
|
public class IdentityClaimTypeManager : DomainService |
|
|
public class IdenityClaimTypeManager : DomainService |
|
|
|
|
|
{ |
|
|
{ |
|
|
protected IIdentityClaimTypeRepository IdentityClaimTypeRepository { get; } |
|
|
protected IIdentityClaimTypeRepository IdentityClaimTypeRepository { get; } |
|
|
|
|
|
|
|
|
public IdenityClaimTypeManager(IIdentityClaimTypeRepository identityClaimTypeRepository) |
|
|
public IdentityClaimTypeManager(IIdentityClaimTypeRepository identityClaimTypeRepository) |
|
|
{ |
|
|
{ |
|
|
IdentityClaimTypeRepository = identityClaimTypeRepository; |
|
|
IdentityClaimTypeRepository = identityClaimTypeRepository; |
|
|
} |
|
|
} |
|
|
|
|
|
@ -5,16 +5,16 @@ using Xunit; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.Identity |
|
|
namespace Volo.Abp.Identity |
|
|
{ |
|
|
{ |
|
|
public class IdenityClaimTypeManager_Tests : AbpIdentityDomainTestBase |
|
|
public class IdentityClaimTypeManager_Tests : AbpIdentityDomainTestBase |
|
|
{ |
|
|
{ |
|
|
private readonly IIdentityClaimTypeRepository _identityClaimTypeRepository; |
|
|
private readonly IIdentityClaimTypeRepository _identityClaimTypeRepository; |
|
|
private readonly IdenityClaimTypeManager _claimTypeManager; |
|
|
private readonly IdentityClaimTypeManager _claimTypeManager; |
|
|
private readonly IdentityTestData _testData; |
|
|
private readonly IdentityTestData _testData; |
|
|
|
|
|
|
|
|
public IdenityClaimTypeManager_Tests() |
|
|
public IdentityClaimTypeManager_Tests() |
|
|
{ |
|
|
{ |
|
|
_identityClaimTypeRepository = GetRequiredService<IIdentityClaimTypeRepository>(); |
|
|
_identityClaimTypeRepository = GetRequiredService<IIdentityClaimTypeRepository>(); |
|
|
_claimTypeManager = GetRequiredService<IdenityClaimTypeManager>(); |
|
|
_claimTypeManager = GetRequiredService<IdentityClaimTypeManager>(); |
|
|
_testData = GetRequiredService<IdentityTestData>(); |
|
|
_testData = GetRequiredService<IdentityTestData>(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|