Skip to content

Commit

Permalink
fix(tests): Don't check for json stdout of kwctl anymore
Browse files Browse the repository at this point in the history
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad committed Aug 26, 2024
1 parent 01da119 commit 48ea59f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@

# settings validation fails
[ "$status" -eq 1 ]
[ $(expr "$output" : '.*valid.*false') -ne 0 ]
[ $(expr "$output" : ".*Provided settings are not valid: These labels cannot be constrained and denied at the same time: cc-center.*") -ne 0 ]
}

Expand All @@ -99,7 +98,6 @@

# settings validation fails
[ "$status" -eq 1 ]
[ $(expr "$output" : '.*valid.*false') -ne 0 ]
[ $(expr "$output" : ".*Provided settings are not valid: These labels cannot be mandatory and denied at the same time: cc-center.*") -ne 0 ]
}

Expand All @@ -113,6 +111,5 @@

# settings validation fails
[ "$status" -eq 1 ]
[ $(expr "$output" : '.*valid.*false') -ne 0 ]
[ $(expr "$output" : ".*Provided settings are not valid: error parsing regexp: missing closing ]: `[12$`.*") -ne 0 ]
}

0 comments on commit 48ea59f

Please sign in to comment.