test: add anonymous search tests for persons and albums

This commit is contained in:
2026-07-11 18:42:13 +02:00
parent 2249e0fb2e
commit 02c62d0dd8

View File

@@ -192,6 +192,15 @@ Authorization: Bearer {{admin_token}}
});
%}
### Get all people as anonymous
GET {{WepApiTest_HostAddress}}/api/person
> {%
client.test("Get all people as anonymous", function () {
client.assert(response.status === 200)
});
%}
### Get all people as rng user
GET {{WepApiTest_HostAddress}}/api/person
Authorization: Bearer {{auth_token}}
@@ -567,6 +576,15 @@ Content-Type: application/json
});
%}
### Get all albums as anonymous
GET {{WepApiTest_HostAddress}}/api/album
> {%
client.test("Get all albums as anonymous", function () {
client.assert(response.status === 200)
});
%}
### Get all albums as rng user
GET {{WepApiTest_HostAddress}}/api/album
Authorization: Bearer {{auth_token}}