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:
@@ -12,6 +12,7 @@ public class SeederApiApplicationFactory : WebApplicationFactoryBase<Startup>
|
||||
_configureTestServices.Add(serviceCollection =>
|
||||
{
|
||||
serviceCollection.AddSingleton<IPlayIdService, NeverPlayIdServices>();
|
||||
serviceCollection.AddHttpContextAccessor();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user