From 7aa91f91cffeaef2597c5264389499a3a9959edf Mon Sep 17 00:00:00 2001 From: Jonathan Gamba Date: Wed, 23 Oct 2024 19:28:51 -0600 Subject: [PATCH] #29498 Fixing tests --- .../postman/JobQueueResourceAPITests.postman_collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotcms-postman/src/main/resources/postman/JobQueueResourceAPITests.postman_collection.json b/dotcms-postman/src/main/resources/postman/JobQueueResourceAPITests.postman_collection.json index f7aa1934dad..8989744db28 100644 --- a/dotcms-postman/src/main/resources/postman/JobQueueResourceAPITests.postman_collection.json +++ b/dotcms-postman/src/main/resources/postman/JobQueueResourceAPITests.postman_collection.json @@ -389,7 +389,7 @@ "// Check if cancellation message is returned", "var jsonData = pm.response.json();", "pm.test(\"Job cancelled successfully\", function () {", - " pm.expect(jsonData.entity).to.equal('Job cancelled successfully');", + " pm.expect(jsonData.entity).to.include('Cancellation request successfully sent to job');", "});", "", "var jobId = pm.collectionVariables.get(\"jobId\");",