Fix SensitiveResultReceiver test case

This commit is contained in:
Ed Minnix
2023-04-10 16:08:41 -04:00
parent 3826b9be6c
commit 0fc775027f
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ class ResultReceiverTest extends InlineExpectationsTest {
override string getARelevantTag() { result = "hasSensitiveResultReceiver" }
override predicate hasActualResult(Location loc, string element, string tag, string value) {
exists(DataFlow::PathNode sink |
sensitiveResultReceiver(_, sink, _) and
exists(SensitiveResultReceiverFlow::PathNode sink |
isSensitiveResultReceiver(_, sink, _) and
element = sink.toString() and
loc = sink.getNode().getLocation() and
tag = "hasSensitiveResultReceiver" and