Skip to content

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

Sort values

Fang-Pen Lin8cab927cf2f7
diff --git a/backend/bdd/features/pki/acme/order.feature b/backend/bdd/features/pki/acme/order.feature
index 6632b39a8d..d9cf5c2689 100644
--- a/backend/bdd/features/pki/acme/order.feature
+++ b/backend/bdd/features/pki/acme/order.feature
@@ -45,12 +45,12 @@ Feature: Order
Then I create a RSA private key pair as cert_key
Then I sign the certificate signing request csr with private key cert_key and output it as csr_pem in PEM format
Then I submit the certificate signing request PEM csr_pem certificate order to the ACME server as order
- Then the value order.body with jq .identifiers should be equal to json
+ Then the value order.body with jq .identifiers | sort_by(.value) should be equal to json
"""
[
- {"type": "dns", "value": "localhost"},
{"type": "dns", "value": "example.com"},
- {"type": "dns", "value": "infisical.com"}
+ {"type": "dns", "value": "infisical.com"},
+ {"type": "dns", "value": "localhost"}
]
"""