Skip to content

Commit

Permalink
final test
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahalsmiller committed Feb 12, 2024
1 parent 5169f0b commit 476b6aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/consul/test/unit/gateway-resources-configmap.bats
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ target=templates/gateway-resources-configmap.yaml
local actual=$(echo "$config" | yq -r '.nodeSelector')
echo "${actual}"
[ "${actual}" = '{\n [\n "annotation.name"\n ]\n}' ]
[ "${actual}" = '{\n [\n "key": "value"\n ]\n}' ]
}
@test "gateway-resources/ConfigMap: API Gateway nodeSelector default {
Expand Down Expand Up @@ -419,7 +419,7 @@ target=templates/gateway-resources-configmap.yaml
local actual=$(echo "$config" | yq -r '.tolerations')
echo "${actual}"
[ "${actual}" = '{\n [\n "annotation.name"\n ]\n}' ]
[ "${actual}" = '{\n [\n "key": "value"\n ]\n}' ]
}
@test "gateway-resources/ConfigMap: API Gateway tolerations default {
Expand Down Expand Up @@ -453,7 +453,7 @@ target=templates/gateway-resources-configmap.yaml
local actual=$(echo "$config" | yq -r '.service')
echo "${actual}"
[ "${actual}" = '{\n [\n "annotation.name"\n ]\n}' ]
[ "${actual}" = '{\n "service": [\n "annotation.name"\n ]\n}' ]
}
@test "gateway-resources/ConfigMap: API Gateway copyAnnotations default {
Expand Down

0 comments on commit 476b6aa

Please sign in to comment.