fix: Throw internal error with invalid ACL.

This commit is contained in:
Joachim Van Herwegen
2021-07-15 13:01:44 +02:00
parent d4bb1095c0
commit e43b579ae7
4 changed files with 15 additions and 9 deletions

View File

@@ -77,7 +77,7 @@ describe('AclInitializer', (): void => {
const initializer = new AclInitializer({ baseUrl, store, aclStrategy });
const prom = initializer.handle();
await expect(prom).rejects.toThrow('There was an issue initializing the root .acl resource: Fatal');
await expect(prom).rejects.toThrow('Issue initializing the root ACL resource: Fatal');
await expect(prom).rejects.toThrow(InternalServerError);
});
});