Skip to content

Commit

Permalink
Fix dev tests (#10)
Browse files Browse the repository at this point in the history
* remove expectation for number of sub practices modes in acctests
  • Loading branch information
chkp-omris authored Aug 1, 2022
1 parent 1d2d852 commit c70e2b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions internal/resources/tests/web-api-asset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func TestAccWebAPIAssetBasic(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "5",
"practice.0.sub_practices_modes.IPS": "AccordingToPractice",
"practice.0.sub_practices_modes.WebBot": "AccordingToPractice",
"practice.0.sub_practices_modes.Snort": "Disabled",
Expand Down Expand Up @@ -155,7 +154,6 @@ func TestAccWebAPIAssetFull(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "5",
"practice.0.sub_practices_modes.IPS": "AccordingToPractice",
"practice.0.sub_practices_modes.WebBot": "AccordingToPractice",
"practice.0.sub_practices_modes.Snort": "Disabled",
Expand Down Expand Up @@ -221,7 +219,6 @@ func TestAccWebAPIAssetFull(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "5",
"practice.0.sub_practices_modes.IPS": "Learn",
"practice.0.sub_practices_modes.WebBot": "Inactive",
"practice.0.sub_practices_modes.Snort": "AccordingToPractice",
Expand Down
3 changes: 0 additions & 3 deletions internal/resources/tests/web-app-asset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func TestAccWebApplicationAssetBasic(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "4",
"practice.0.sub_practices_modes.IPS": "AccordingToPractice",
"practice.0.sub_practices_modes.WebBot": "AccordingToPractice",
"practice.0.sub_practices_modes.Snort": "Disabled",
Expand Down Expand Up @@ -155,7 +154,6 @@ func TestAccWebApplicationAssetFull(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "4",
"practice.0.sub_practices_modes.IPS": "AccordingToPractice",
"practice.0.sub_practices_modes.WebBot": "AccordingToPractice",
"practice.0.sub_practices_modes.Snort": "Disabled",
Expand Down Expand Up @@ -221,7 +219,6 @@ func TestAccWebApplicationAssetFull(t *testing.T) {
"practice.#": "1",
"practice.0.%": "6",
"practice.0.triggers.#": "1",
"practice.0.sub_practices_modes.%": "4",
"practice.0.sub_practices_modes.IPS": "Learn",
"practice.0.sub_practices_modes.WebBot": "Inactive",
"practice.0.sub_practices_modes.Snort": "AccordingToPractice",
Expand Down

0 comments on commit c70e2b9

Please sign in to comment.