1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-13 21:57:30 -05:00

Moved Slack OAuth to take into account the Organization it's being stored for. Added methods to store the top level integration for Slack

This commit is contained in:
Brant DeBow
2025-03-24 11:13:23 -04:00
parent 61a621b04b
commit ffda25608c
13 changed files with 200 additions and 124 deletions

View File

@ -24,10 +24,8 @@ public class SlackEventHandlerTests
private SutProvider<SlackEventHandler> GetSutProvider(
List<IntegrationConfiguration<SlackConfiguration>> integrationConfigurations)
{
_repository.GetConfigurationsAsync<SlackConfiguration>(
IntegrationType.Slack,
Arg.Any<Guid>(),
Arg.Any<EventType>())
_repository.GetConfigurationsAsync<SlackConfiguration>(Arg.Any<Guid>(),
IntegrationType.Slack, Arg.Any<EventType>())
.Returns(integrationConfigurations);
return new SutProvider<SlackEventHandler>()