public void Variations() { var context = new CompareContext(); RunAudienceVariation(ClaimSets.MultipleAudiences(), IdentityUtilities.DefaultAudiences, context); RunAudienceVariation(ClaimSets.SingleAudience(), new List <string> { IdentityUtilities.DefaultAudience }, context); TestUtilities.AssertFailIfErrors("AudienceValidation: ", context.Diffs); }
public void Variations() { var context = new CompareContext { IgnoreType = true }; RunAudienceVariation(ClaimSets.MultipleAudiences(), Default.Audiences, context); RunAudienceVariation(ClaimSets.SingleAudience(), new List <string> { Default.Audience }, context); TestUtilities.AssertFailIfErrors("AudienceValidation: ", context.Diffs); }