This commit is contained in:
zadam
2023-06-05 21:14:33 +02:00
parent 00453fc151
commit 69c7eb14aa
10 changed files with 16 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ Authorization: {{authToken}}
> {%
client.assert(response.status === 200);
client.assert(response.body.branchId == client.global.get("clonedBranchId"));
client.assert(response.body.parentNoteId == '_hidden');
client.assert(response.body.parentNoteId == "_hidden");
%}
###

View File

@@ -22,7 +22,7 @@ Content-Type: application/json
{
"noteId": "{{createdNoteId}}",
"parentNoteId": '_hidden'
"parentNoteId": "_hidden"
}
> {% client.global.set("clonedBranchId", response.body.branchId); %}

View File

@@ -38,7 +38,7 @@ Content-Type: application/json
{
"noteId": "{{createdNoteId}}",
"parentNoteId": '_hidden'
"parentNoteId": "_hidden"
}
> {% client.global.set("clonedBranchId", response.body.branchId); %}

View File

@@ -21,5 +21,5 @@ Authorization: {{authToken}}
> {%
client.assert(response.status === 200);
client.assert(response.body === "<p>Hi there!</p>");
client.assert(response.body === "Hi there!");
%}