})
})
+ it('Should fail with an incorrect actor type', async function () {
+ await makeGetRequest({
+ url: server.url,
+ path,
+ query: {
+ actorType: 'blabla'
+ }
+ })
+ })
+
it('Should fail succeed with the correct params', async function () {
await makeGetRequest({
url: server.url,
path,
statusCodeExpected: 200,
query: {
- state: 'accepted'
+ state: 'accepted',
+ actorType: 'Application'
}
})
})
await checkBadSortPagination(server.url, path)
})
+ it('Should fail with an incorrect actor type', async function () {
+ await makeGetRequest({
+ url: server.url,
+ path,
+ query: {
+ actorType: 'blabla'
+ }
+ })
+ })
+
it('Should fail with an incorrect state', async function () {
await makeGetRequest({
url: server.url,
path,
query: {
- state: 'blabla'
+ state: 'blabla',
+ actorType: 'Application'
}
})
})