Skip to content

Commit

Permalink
Update security test back to correct request with expected response a…
Browse files Browse the repository at this point in the history
…ssertion

Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
  • Loading branch information
qreshi committed Jan 6, 2023
1 parent 4d5f930 commit 6c81a4c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,13 @@ class SecurityNotificationIT : PluginRestTestCase() {
}
""".trimIndent()

createConfigWithRequestJsonString(createRequestJsonString, userClient!!)
executeRequest(
RestRequest.Method.POST.name,
"${NotificationPlugin.PLUGIN_BASE_URI}/configs",
createRequestJsonString,
RestStatus.FORBIDDEN.status,
userClient!!
)
deleteUserWithCustomRole(user, NOTIFICATION_NO_ACCESS_ROLE)
}

Expand Down

0 comments on commit 6c81a4c

Please sign in to comment.