diff --git a/Lombiq.Privacy.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs b/Lombiq.Privacy.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs index 2b33872..794dbe1 100644 --- a/Lombiq.Privacy.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs +++ b/Lombiq.Privacy.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs @@ -3,7 +3,6 @@ using Lombiq.Tests.UI.Extensions; using Lombiq.Tests.UI.Services; using OpenQA.Selenium; -using OrchardCore.Users.Models; using Shouldly; using System.Threading.Tasks; @@ -102,7 +101,6 @@ public static async Task TestRegistrationConsentCheckboxAsync(this UITestContext { await context.EnablePrivacyConsentBannerFeatureAsync(); await context.EnablePrivacyRegistrationConsentFeatureAsync(); - await context.SetUserRegistrationTypeAsync(UserRegistrationType.AllowRegistration); await context.TestRegistrationConsentCheckboxContentAsync();