From d69842d668bea573a3643537ef2c5bf4386f8dcf Mon Sep 17 00:00:00 2001 From: Patrick Pimentel Date: Mon, 24 Nov 2025 12:59:03 -0500 Subject: [PATCH] fix(auth-validator): [PM-22975] Client Version Validator - Added header to all tests within the webapplication factory extensions. --- .../Factories/WebApplicationFactoryExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/IntegrationTestCommon/Factories/WebApplicationFactoryExtensions.cs b/test/IntegrationTestCommon/Factories/WebApplicationFactoryExtensions.cs index 3f5bf49dd9..37c0cb2e98 100644 --- a/test/IntegrationTestCommon/Factories/WebApplicationFactoryExtensions.cs +++ b/test/IntegrationTestCommon/Factories/WebApplicationFactoryExtensions.cs @@ -36,6 +36,8 @@ public static class WebApplicationFactoryExtensions httpContext.Request.Body = content.ReadAsStream(); } + httpContext.Request.Headers.Append("Bitwarden-Client-Version", "2025.11.0"); + extraConfiguration?.Invoke(httpContext); }); }