test: Add SPARQL endpoint integration test.

This commit is contained in:
Ruben Verborgh
2020-10-31 22:34:11 +01:00
committed by Joachim Van Herwegen
parent 17d774fc18
commit 1055beea92
5 changed files with 56 additions and 8 deletions

View File

@@ -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,
);
}