test: set direct link type to ticket
This commit is contained in:
@@ -343,8 +343,8 @@
|
||||
" }",
|
||||
" if (ticket.ActivityType) {",
|
||||
" pm.collectionVariables.set(\"objectType\", ticket.ActivityType);",
|
||||
" pm.collectionVariables.set(\"type\", ticket.ActivityType);",
|
||||
" }",
|
||||
" pm.collectionVariables.set(\"type\", \"ticket\");",
|
||||
" pm.test(\"Captured ticket object id and type\", function () {",
|
||||
" pm.expect(pm.collectionVariables.get(\"eoid\")).to.match(/^[0-9a-fA-F-]{36}$/);",
|
||||
" pm.expect(pm.collectionVariables.get(\"type\")).to.be.a(\"string\").and.not.empty;",
|
||||
|
||||
Reference in New Issue
Block a user