File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
agent_api/src/test/java/vulnerabilities Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,6 @@ public void testShouldSkipVulnerabilityScan_NullContext() {
49
49
assertTrue (SkipVulnerabilityScanDecider .shouldSkipVulnerabilityScan (null ));
50
50
}
51
51
52
- @ Test
53
- public void testShouldSkipVulnerabilityScan_BypassedIP () {
54
-
55
- // Mock the ThreadCacheObject to return a bypassed IP
56
- ThreadCacheObject mockThreadCache = mock (ThreadCacheObject .class );
57
- when (mockThreadCache .isBypassedIP (context .getRemoteAddress ())).thenReturn (true );
58
- ThreadCache .set (mockThreadCache );
59
-
60
- assertTrue (SkipVulnerabilityScanDecider .shouldSkipVulnerabilityScan (context ));
61
- }
62
-
63
52
@ Test
64
53
public void testShouldSkipVulnerabilityScan_ProtectionForcedOff_1 () {
65
54
// Mock the ThreadCacheObject to return a matched endpoint
You can’t perform that action at this time.
0 commit comments