cleanup that was missed in prev. commit

This commit is contained in:
Jason 2018-05-02 16:36:34 -06:00 committed by Nanne Baars
parent 9d49373486
commit ac1b9e8311

View File

@ -90,11 +90,6 @@ public class StoredXssCommentsTest extends AssignmentEndpointTest {
assert(mvcResult.getResponse().getContentAsString().contains("<script>console.warn")); assert(mvcResult.getResponse().getContentAsString().contains("<script>console.warn"));
} }
private Boolean hasScriptTagInComments () {
return false;
}
//Could be used to test an encoding solution ... commented out so build will pass. Uncommenting will fail build, but leaving in as positive Security Unit Test //Could be used to test an encoding solution ... commented out so build will pass. Uncommenting will fail build, but leaving in as positive Security Unit Test
// @Test // @Test
// public void isEncoded() throws Exception { // public void isEncoded() throws Exception {