Mark a MISSING test result as suggested in code review

This commit is contained in:
Tony Torralba
2021-05-07 11:17:51 +02:00
parent b69be30b88
commit 2a501956b3

View File

@@ -133,7 +133,7 @@ public class XPathInjectionTest {
new DefaultXPath("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection
new XPathPattern("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection
new XPathPattern(new PatternStub(user)); // Jaxen is not modeled yet
new XPathPattern(new PatternStub(user)); // $ MISSING: hasXPathInjection // Jaxen is not modeled yet
DocumentFactory docFactory = DocumentFactory.getInstance();
docFactory.createPattern("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection