From bd2c59b05420be040a297fb3b30cf11c18a6770a Mon Sep 17 00:00:00 2001 From: Sebastien Blot Date: Tue, 5 Dec 2023 13:55:49 +0100 Subject: [PATCH] fix some tests --- test/bats/20_hub.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/bats/20_hub.bats b/test/bats/20_hub.bats index 5189044b9..200b3180a 100644 --- a/test/bats/20_hub.bats +++ b/test/bats/20_hub.bats @@ -34,9 +34,9 @@ teardown() { # no items rune -0 cscli hub list - assert_output --regexp ".*PARSERS.*POSTOVERFLOWS.*SCENARIOS.*COLLECTIONS.*" + assert_output --regexp "APPSEC-CONFIGS.*APPSEC-RULES.*PARSERS.*POSTOVERFLOWS.*SCENARIOS.*COLLECTIONS.*" rune -0 cscli hub list -o json - assert_json '{parsers:[],scenarios:[],collections:[],postoverflows:[]}' + assert_json '{appsec-configs:[],appsec-rules:[],parsers:[],scenarios:[],collections:[],postoverflows:[]}' rune -0 cscli hub list -o raw assert_output 'name,status,version,description,type' @@ -135,7 +135,7 @@ teardown() { assert_line "collections" rune -0 cscli hub types -o human rune -0 yq -o json <(output) - assert_json '["parsers","postoverflows","scenarios","collections"]' + assert_json '["appsec-configs","appsec-rules","parsers","postoverflows","scenarios","collections"]' rune -0 cscli hub types -o json - assert_json '["parsers","postoverflows","scenarios","collections"]' + assert_json '["appsec-configs","appsec-rules","parsers","postoverflows","scenarios","collections"]' }