@@ -104,8 +104,10 @@ describe('AccountManager', () => {
104104 it ( 'should match the solid root dir config, in single user mode' , ( ) => {
105105 let multiuser = false
106106 let resourceMapper = new LegacyResourceMapper ( {
107+ rootUrl : 'https://localhost:8443/' ,
107108 includeHost : multiuser ,
108- rootPath : testAccountsDir
109+ rootPath : testAccountsDir ,
110+ defaultContentType : 'application/octet-stream'
109111 } )
110112 let store = new LDP ( { multiuser, resourceMapper } )
111113 let options = { multiuser, store, host }
@@ -118,8 +120,10 @@ describe('AccountManager', () => {
118120 it ( 'should compose the account dir in multi user mode' , ( ) => {
119121 let multiuser = true
120122 let resourceMapper = new LegacyResourceMapper ( {
123+ rootUrl : 'https://localhost:8443/' ,
121124 includeHost : multiuser ,
122- rootPath : testAccountsDir
125+ rootPath : testAccountsDir ,
126+ defaultContentType : 'application/octet-stream'
123127 } )
124128 let store = new LDP ( { multiuser, resourceMapper } )
125129 let host = SolidHost . from ( { serverUri : 'https://localhost' } )
@@ -312,6 +316,9 @@ describe('AccountManager', () => {
312316 describe ( 'rootAclFor()' , ( ) => {
313317 it ( 'should return the server root .acl in single user mode' , ( ) => {
314318 let resourceMapper = new LegacyResourceMapper ( {
319+ rootUrl : 'https://localhost:8443/' ,
320+ rootPath : process . cwd ( ) ,
321+ defaultContentType : 'application/octet-stream' ,
315322 includeHost : false
316323 } )
317324 let store = new LDP ( { suffixAcl : '.acl' , multiuser : false , resourceMapper } )
@@ -327,6 +334,9 @@ describe('AccountManager', () => {
327334
328335 it ( 'should return the profile root .acl in multi user mode' , ( ) => {
329336 let resourceMapper = new LegacyResourceMapper ( {
337+ rootUrl : 'https://localhost:8443/' ,
338+ rootPath : process . cwd ( ) ,
339+ defaultContentType : 'application/octet-stream' ,
330340 includeHost : true
331341 } )
332342 let store = new LDP ( { suffixAcl : '.acl' , multiuser : true , resourceMapper } )
0 commit comments