test: add anonymous search tests for persons and albums
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user