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:
@ -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>()
|
||||
|
Reference in New Issue
Block a user