From 420bbbbf9ffe924109fa4b002c235118e0c77bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Thu, 28 Nov 2024 03:41:13 +0100 Subject: [PATCH] Removing deprecated code --- .../Extensions/TestCaseUITestContextExtensions.cs | 2 -- 1 file changed, 2 deletions(-) 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();