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);
        }
Exemplo n.º 2
0
        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);
        }