mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Use an IdentifierStrategy in InMemoryDataAccessor
Now it's also possible to support multiple root containers.
This commit is contained in:
@@ -35,9 +35,10 @@ describe('A LockingResourceStore', (): void => {
|
||||
|
||||
const base = 'http://test.com/';
|
||||
path = `${base}path`;
|
||||
const idStrategy = new SingleRootIdentifierStrategy(base);
|
||||
source = new DataAccessorBasedStore(
|
||||
new InMemoryDataAccessor(base),
|
||||
new SingleRootIdentifierStrategy(base),
|
||||
new InMemoryDataAccessor(idStrategy),
|
||||
idStrategy,
|
||||
strategy,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user