@@ -2826,7 +2826,7 @@ describe('Floccus', function() {
28262826 } )
28272827 it ( 'should sync root folder successfully' , async function ( ) {
28282828 const [ root ] = await browser . bookmarks . getTree ( )
2829- await account . setData ( { localRoot : root . id } )
2829+ await account . setData ( { localRoot : root . id , rootPath : '' } )
28302830 account = await Account . get ( account . id )
28312831
28322832 const barFolder = await browser . bookmarks . create ( {
@@ -2870,7 +2870,7 @@ describe('Floccus', function() {
28702870 )
28712871
28722872 const originalFolderId = account . getData ( ) . localRoot
2873- await account . setData ( { localRoot : root . id , } )
2873+ await account . setData ( { localRoot : root . id , rootPath : '' } )
28742874 account = await Account . get ( account . id )
28752875 const adapter = account . server
28762876
@@ -3492,7 +3492,7 @@ describe('Floccus', function() {
34923492 )
34933493
34943494 const originalFolderId = account . getData ( ) . localRoot
3495- await account . setData ( { localRoot : root . id , } )
3495+ await account . setData ( { localRoot : root . id , rootPath : '' } )
34963496 account = await Account . get ( account . id )
34973497 const adapter = account . server
34983498
@@ -5524,7 +5524,7 @@ describe('Floccus', function() {
55245524 } )
55255525 }
55265526 await account . init ( )
5527- await account . setData ( { localRoot : 'tabs' } )
5527+ await account . setData ( { localRoot : 'tabs' , rootPath : 'Tabs' } )
55285528 if ( ACCOUNT_DATA . noCache ) {
55295529 account . storage . setCache = ( ) => {
55305530 // noop
@@ -5914,7 +5914,7 @@ describe('Floccus', function() {
59145914 } )
59155915 }
59165916 await account . init ( )
5917- await account . setData ( { localRoot : 'tabs' } )
5917+ await account . setData ( { localRoot : 'tabs' , rootPath : 'Tabs' } )
59185918 if ( ACCOUNT_DATA . noCache ) {
59195919 account . storage . setCache = ( ) => {
59205920 // noop
0 commit comments