1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 09:43:25 +00:00

Include http context in tests

This commit is contained in:
Matt Gibson
2025-12-02 13:46:31 -08:00
parent 533153fc7b
commit 80d8331f11

View File

@@ -12,6 +12,7 @@ public class SeederApiApplicationFactory : WebApplicationFactoryBase<Startup>
_configureTestServices.Add(serviceCollection =>
{
serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>();
serviceCollection.AddHttpContextAccessor();
});
}
}