Remove remaining default CT stopgaps — make ServerSideSessionsRemovedAsync CT required (consistent with interface), remove unused CT parameter from Login test helper

This commit is contained in:
Damian Hickey 2026-02-23 19:43:09 +01:00
parent 6132b17d10
commit e2edc6e1f8
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ public class TestOperationalStoreNotification : IOperationalStoreNotification
return Task.CompletedTask;
}
public Task ServerSideSessionsRemovedAsync(IEnumerable<ServerSideSession> userSessions, Ct ct = default)
public Task ServerSideSessionsRemovedAsync(IEnumerable<ServerSideSession> userSessions, Ct ct)
{
ArgumentNullException.ThrowIfNull(userSessions);
foreach (var session in userSessions)

View file

@ -7,7 +7,7 @@ namespace Duende.IdentityServer.EndToEndTests.TestInfra;
public static class IdentityServerPageExtensions
{
public static async Task Login(this IPage page, string userName = "alice", string password = "alice", CancellationToken ct = default)
public static async Task Login(this IPage page, string userName = "alice", string password = "alice")
{
await page.GetLink("Secure").ClickAsync();
await page.GetByLabel("Username").FillAsync(userName);