chore(test): fix deprecated call or syntax

This commit is contained in:
Edouard Vanbelle
2026-06-11 03:06:47 +02:00
parent 595273277b
commit 140cbb440e
9 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ Authorization: Bearer {{henry_token}}
HTTP 200
[Asserts]
jsonpath "$.items[?(@.resource.id=='{{perm_folder_id}}')].resource_type" == "folder"
jsonpath "$.items[?(@.resource.id=='{{perm_folder_id}}')].permissions" includes "read"
jsonpath "$.items[?(@.resource.id=='{{perm_folder_id}}')].permissions" contains "read"
# ── Mutations still denied (Viewer has no Update/Create/Delete) ─
POST {{base_url}}/api/folders
+2 -2
View File
@@ -12,7 +12,7 @@
# 6 wrong attempts from spoofed X-Forwarded-For: IP1
# lock (admin, IP1), but the SAME correct credential
# from spoofed X-Forwarded-For: IP2 still succeeds.
# Depends on OXICLOUD_TRUST_PROXY_HEADERS=true in
# Depends on OXICLOUD_TRUST_PROXY_CIDR=0.0.0.0/0 in
# tests/common/server.env so the server honours the
# X-Forwarded-For header on localhost.
#
@@ -191,7 +191,7 @@ header "WWW-Authenticate" contains "Basic"
# (admin, 10.0.0.2 — released by the success), neither of
# which any other test touches.
#
# Requires: OXICLOUD_TRUST_PROXY_HEADERS=true in
# Requires: OXICLOUD_TRUST_PROXY_CIDR=0.0.0.0/0 in
# tests/common/server.env.
# ─────────────────────────────────────────────────────────────