fix: Fix test issues

The root container wasn't being created for file based tests.
Containers should be POSTed as RDF bodies.
Containment triples of child containers had no trailing slash.
This commit is contained in:
Joachim Van Herwegen
2020-09-23 17:03:42 +02:00
parent e85ca622da
commit 22962192ff
5 changed files with 17 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ export class FileTestHelper {
{
slug,
link: '<http://www.w3.org/ns/ldp#Container>; rel="type"',
'content-type': 'text/plain',
'content-type': 'text/turtle',
'transfer-encoding': 'chunked',
},
);