mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-03-03 03:49:19 -06:00
add prefix "_" to "named" IDs
This commit is contained in:
@@ -33,12 +33,12 @@ Content-Type: application/json
|
||||
{
|
||||
"branchId": "forcedClonedId",
|
||||
"noteId": "{{createdNoteId}}",
|
||||
"parentNoteId": "hidden"
|
||||
"parentNoteId": '_hidden'
|
||||
}
|
||||
|
||||
> {%
|
||||
client.assert(response.status === 201);
|
||||
client.assert(response.body.parentNoteId == "hidden");
|
||||
client.assert(response.body.parentNoteId == '_hidden');
|
||||
|
||||
client.global.set("clonedBranchId", response.body.branchId);
|
||||
|
||||
@@ -88,7 +88,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');
|
||||
%}
|
||||
|
||||
###
|
||||
|
||||
@@ -22,7 +22,7 @@ Content-Type: application/json
|
||||
|
||||
{
|
||||
"noteId": "{{createdNoteId}}",
|
||||
"parentNoteId": "hidden"
|
||||
"parentNoteId": '_hidden'
|
||||
}
|
||||
|
||||
> {% client.global.set("clonedBranchId", response.body.branchId); %}
|
||||
|
||||
@@ -38,7 +38,7 @@ Content-Type: application/json
|
||||
|
||||
{
|
||||
"noteId": "{{createdNoteId}}",
|
||||
"parentNoteId": "hidden"
|
||||
"parentNoteId": '_hidden'
|
||||
}
|
||||
|
||||
> {% client.global.set("clonedBranchId", response.body.branchId); %}
|
||||
|
||||
Reference in New Issue
Block a user