提交 a41fcd56 编写于 作者: O Oleg Nenashev

Fix the failing test (a new one for CLI access would be useful)

上级 9e439d46
......@@ -41,6 +41,7 @@ class CLIActionTest {
@PresetData(DataSet.NO_ANONYMOUS_READACCESS)
public void serveCliActionToAnonymousUser() throws Exception {
def wc = j.createWebClient();
wc.goTo("cli");
// The behavior changed due to SECURITY-192. index page is no longer accessible to anonymous
wc.assertFails(new URL(j.URL,"cli").toString(), HttpURLConnection.HTTP_FORBIDDEN);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册