Skip to content

Commit

Permalink
fix test failure in ContextHandlerGetResourceTest
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Oct 12, 2021
1 parent 12ee696 commit 6ec652f
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -115,6 +115,9 @@ public static void beforeClass() throws Exception
context.addAliasCheck(new ContextHandler.AliasCheck()
{
final SymlinkAllowedResourceAliasChecker symlinkcheck = new SymlinkAllowedResourceAliasChecker(context);
{
context.addBean(symlinkcheck);
}

@Override
public boolean check(String path, Resource resource)
Expand Down

0 comments on commit 6ec652f

Please sign in to comment.