Skip to content

Commit ce8566e

Browse files
oliwermjuraga
authored andcommitted
TEST/MINOR: fix random fails on CI when removing a default section
1 parent 2131ca0 commit ce8566e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

e2e/tests/defaults/get.bats

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,6 @@ load 'utils/_helpers'
2727
@test "defaults: Return a list of defaults configurations" {
2828
resource_get "$_DEFAULTS_BASE_PATH"
2929
assert_equal "$SC" 200
30-
31-
# log_target_list is a child resource, it should not be filled when full_section=false
32-
assert_equal "$(get_json_path "$BODY" ".[] | select(.name | contains(\"unnamed_defaults_1\")).log_target_list.[0].global")" "null"
33-
}
34-
35-
@test "default: return a list of defaults configurations with full section" {
36-
resource_get "$_DEFAULTS_BASE_PATH" "full_section=true"
37-
assert_equal "$SC" 200
38-
39-
# log_target_list is a child resource, it should be filled when full_section=true
40-
assert_equal "$(get_json_path "$BODY" ".[] | select(.name | contains(\"unnamed_defaults_1\")).log_target_list.[0].global")" "true"
4130
}
4231

4332
@test "defaults: Return a defaults configuration" {

0 commit comments

Comments
 (0)