Skip to content

Commit

Permalink
Sns Sink Test Case Changes
Browse files Browse the repository at this point in the history
Signed-off-by: Uday Kumar Chintala <[email protected]>
  • Loading branch information
udaych20 committed Aug 1, 2023
1 parent 526b521 commit c779a1f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class SnsSinkTest {
private PluginFactory pluginFactory;
private AwsCredentialsSupplier awsCredentialsSupplier;
private SinkContext sinkContext;

private PluginModel pluginModel;

@BeforeEach
Expand All @@ -56,6 +55,8 @@ void setUp() {
awsCredentialsSupplier = mock(AwsCredentialsSupplier.class);
Map<String,Object> dlqMap = mock(HashMap.class);

when(snsSinkConfig.getMessageGroupId()).thenReturn("/message");
when(snsSinkConfig.getMessageDeduplicationId()).thenReturn("/message");
when(snsSinkConfig.getDlq()).thenReturn(pluginModel);
when(pluginModel.getPluginSettings()).thenReturn(dlqMap);
when(snsSinkConfig.getAwsAuthenticationOptions()).thenReturn(awsAuthenticationOptions);
Expand Down

0 comments on commit c779a1f

Please sign in to comment.