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
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: alerting/src/test/kotlin/com/amazon/opendistroforelasticsearch/alerting/resthandler/SecureDestinationRestApiIT.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,8 @@ class SecureDestinationRestApiIT : AlertingRestTestCase() {
48
48
inputMap["destinationType"] ="slack"
49
49
50
50
// 2. get destinations as admin user
51
-
val adminResponse = getDestinations(client(), inputMap, getHeader())
Copy file name to clipboardExpand all lines: alerting/src/test/kotlin/com/amazon/opendistroforelasticsearch/alerting/resthandler/SecureMonitorRestApiIT.kt
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ class SecureMonitorRestApiIT : AlertingRestTestCase() {
29
29
val search =SearchSourceBuilder().query(QueryBuilders.termQuery("_id", monitor.id)).toString()
30
30
31
31
// search as "admin" - must get 1 docs
32
-
val adminSearchResponse = client().makeRequest("POST",
0 commit comments