1
0
mirror of https://github.com/bitwarden/server synced 2026-01-02 00:23:40 +00:00

fix(auth-validator): [PM-22975] Client Version Validator - Rename function

This commit is contained in:
Patrick Pimentel
2025-12-15 12:00:42 -05:00
parent 06224d9969
commit 6a5518a037
7 changed files with 15 additions and 15 deletions

View File

@@ -625,7 +625,7 @@ public class IdentityServerSsoTests
// Bypass client version gating to isolate SSO test behavior
factory.SubstituteService<IClientVersionValidator>(svc =>
{
svc.ValidateAsync(Arg.Any<User>(), Arg.Any<CustomValidatorRequestContext>())
svc.Validate(Arg.Any<User>(), Arg.Any<CustomValidatorRequestContext>())
.Returns(true);
});

View File

@@ -36,7 +36,7 @@ public class IdentityServerTests : IClassFixture<IdentityApplicationFactory>
// Bypass client version gating to isolate SSO test behavior
_factory.SubstituteService<IClientVersionValidator>(svc =>
{
svc.ValidateAsync(Arg.Any<User>(), Arg.Any<CustomValidatorRequestContext>())
svc.Validate(Arg.Any<User>(), Arg.Any<CustomValidatorRequestContext>())
.Returns(true);
});