Skip to content

Commit 7362158

Browse files
committed
Fix test case
1 parent 1271cd3 commit 7362158

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/test/query-tests/security/CWE-330/WeakRandomTest.ql renamed to java/ql/test/query-tests/security/CWE-330/InsecureRandomnessTest.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import java
22
import semmle.code.java.dataflow.DataFlow
3-
import semmle.code.java.security.WeakRandomnessQuery
3+
import semmle.code.java.security.InsecureRandomnessQuery
44
import TestUtilities.InlineExpectationsTest
55

66
module WeakRandomTest implements TestSig {
77
string getARelevantTag() { result = "hasWeakRandomFlow" }
88

99
predicate hasActualResult(Location location, string element, string tag, string value) {
1010
tag = "hasWeakRandomFlow" and
11-
exists(DataFlow::Node sink | WeakRandomnessFlow::flowTo(sink) |
11+
exists(DataFlow::Node sink | InsecureRandomnessFlow::flowTo(sink) |
1212
sink.getLocation() = location and
1313
element = sink.toString() and
1414
value = ""

0 commit comments

Comments
 (0)