mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Add integration test for intermediate containers
This commit is contained in:
@@ -84,11 +84,14 @@ describe('A Solid server with IDP', (): void => {
|
||||
acl:default <./>;
|
||||
acl:mode acl:Read, acl:Write, acl:Control.
|
||||
`;
|
||||
await fetch(`${container}.acl`, {
|
||||
const res = await fetch(`${container}.acl`, {
|
||||
method: 'PUT',
|
||||
headers: { 'content-type': 'text/turtle' },
|
||||
body: aclTurtle,
|
||||
});
|
||||
if (res.status !== 201) {
|
||||
throw new Error('Something went wrong initializing the test ACL');
|
||||
}
|
||||
});
|
||||
|
||||
afterAll(async(): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user