Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix BDD tests

Fang-Pen Lin3cedb7aaaf80
diff --git a/backend/bdd/features/pki/acme/auth.feature b/backend/bdd/features/pki/acme/auth.feature
index 757a182c87..ef087ee074 100644
--- a/backend/bdd/features/pki/acme/auth.feature
+++ b/backend/bdd/features/pki/acme/auth.feature
@@ -19,13 +19,17 @@ Feature: Authorization
And the value order.authorizations[0].body with jq ".challenges | map(pick(.type, .status)) | sort_by(.type)" should be equal to json
"""
[
+ {
+ "type": "dns-01",
+ "status": "pending"
+ },
{
"type": "http-01",
"status": "pending"
}
]
"""
- And the value order.authorizations[0].body with jq ".challenges | map(.status) | sort" should be equal to ["pending"]
+ And the value order.authorizations[0].body with jq ".challenges | map(.status) | sort" should be equal to ["pending", "pending"]
And the value order.authorizations[0].body with jq ".identifier" should be equal to json
"""
{