chore(test): fix deprecated call or syntax
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user