forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests for API failures and app exception
- Loading branch information
1 parent
55fa9fc
commit 9acea93
Showing
5 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Packs/Doppel/Integrations/Doppel/test_data/get-alert-failure-400-both-args-given.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"message": "Must provide exactly one of 'id' or 'entity'." | ||
} |
3 changes: 3 additions & 0 deletions
3
Packs/Doppel/Integrations/Doppel/test_data/get-alert-failure-400-invalid-alert-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"message": "Invalid alert id: 1234" | ||
} |
3 changes: 3 additions & 0 deletions
3
Packs/Doppel/Integrations/Doppel/test_data/get-alert-failure-400-invalid-entity.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"message": "Invalid entity: 123. Needs to be url, phone number or email." | ||
} |
File renamed without changes.