You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve hosts when checking against host deny list (#496) (#498)
* Resolve hosts when checking against host deny list
Signed-off-by: Mohammad Qureshi <[email protected]>
* Stub isHostInDenyList() for notification core unit tests
Signed-off-by: Mohammad Qureshi <[email protected]>
* Stub the correct isHostInDenylist function
Signed-off-by: Mohammad Qureshi <[email protected]>
* Use Before annotation instead for mocking setup
Signed-off-by: Mohammad Qureshi <[email protected]>
* Test switching one of the ChimeDestinationTests to use mockk instead of EasyMock
Signed-off-by: Mohammad Qureshi <[email protected]>
* Switch to BeforeEach for setup and remove unneeded unit test
Signed-off-by: Mohammad Qureshi <[email protected]>
* Change CustomWebhookDestinationTest and SlackDestinationTests to use BeforeEach as well for consistency
Signed-off-by: Mohammad Qureshi <[email protected]>
(cherry picked from commit 82a926e)
Co-authored-by: Mohammad Qureshi <[email protected]>
Copy file name to clipboardExpand all lines: notifications/core/src/test/kotlin/org/opensearch/notifications/core/destinations/ChimeDestinationTests.kt
Copy file name to clipboardExpand all lines: notifications/core/src/test/kotlin/org/opensearch/notifications/core/destinations/CustomWebhookDestinationTests.kt
Copy file name to clipboardExpand all lines: notifications/core/src/test/kotlin/org/opensearch/notifications/core/destinations/SlackDestinationTests.kt
0 commit comments