Update tests after sortIndex length change
This commit is contained in:
parent
427a227370
commit
f662b58331
2 changed files with 6 additions and 6 deletions
|
@ -932,9 +932,9 @@ async function createAnnotation(type, parentItem) {
|
|||
annotation.annotationText = Zotero.Utilities.randomString();
|
||||
}
|
||||
annotation.annotationComment = Zotero.Utilities.randomString();
|
||||
var page = Zotero.Utilities.rand(1, 100).toString().padStart(6, '0');
|
||||
var pos = Zotero.Utilities.rand(1, 10000).toString().padStart(7, '0');
|
||||
annotation.annotationSortIndex = `${page}|${pos}|000000.000`;
|
||||
var page = Zotero.Utilities.rand(1, 100).toString().padStart(5, '0');
|
||||
var pos = Zotero.Utilities.rand(1, 10000).toString().padStart(6, '0');
|
||||
annotation.annotationSortIndex = `${page}|${pos}|00000.000`;
|
||||
annotation.annotationPosition = {
|
||||
pageIndex: 123,
|
||||
rects: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue