mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Add SPARQL endpoint integration test.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
17d774fc18
commit
1055beea92
@@ -31,10 +31,11 @@ import {
|
||||
export class DataAccessorBasedConfig implements ServerConfig {
|
||||
public store: ResourceStore;
|
||||
|
||||
public constructor(base: string, dataAccessor: DataAccessor) {
|
||||
public constructor(base: string, dataAccessor: DataAccessor, inType?: string) {
|
||||
this.store = getConvertingStore(
|
||||
getDataAccessorStore(base, dataAccessor),
|
||||
[ new QuadToRdfConverter(), new RdfToQuadConverter() ],
|
||||
inType,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user