mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
tests(fix): Align with upstream testssl
field name change (#2353)
The field name to check in JSON output was recently changed for the cipherlist results, causing tests to fail.
This commit is contained in:
parent
33ebbbf2c7
commit
dfd649262a
|
@ -160,7 +160,7 @@ function compare_cipherlist() {
|
|||
local RESULTS_FILE=$2
|
||||
local EXPECTED_CIPHERLIST=$3
|
||||
|
||||
run jq '.scanResult[0].fs[] | select(.id=="'"${TARGET_CIPHERLIST}"'") | .finding' "${TLS_RESULTS_DIR}/${RESULTS_FILE}"
|
||||
run jq '.scanResult[0].serverPreferences[] | select(.id=="'"${TARGET_CIPHERLIST}"'") | .finding' "${TLS_RESULTS_DIR}/${RESULTS_FILE}"
|
||||
assert_success
|
||||
assert_output "${EXPECTED_CIPHERLIST}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue