Skip to content

Commit

Permalink
fix: Fix test name uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed Nov 28, 2024
1 parent d33ab4b commit 8d14417
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import datadog.trace.agent.test.AgentTestRunner
import datadog.trace.agent.test.server.http.TestHttpServer
import datadog.trace.api.iast.InstrumentationBridge
import datadog.trace.api.iast.sink.SsrfModule
import org.apache.http.HttpHost
Expand Down Expand Up @@ -31,7 +32,7 @@ class IastHttpClientInstrumentationTest extends AgentTestRunner {
}
}

void 'test ssrf httpClient execute method with args #args expecting call module'() {
void 'test ssrf httpClient execute method expecting call module #iterationIndex'() {
given:
final ssrf = Mock(SsrfModule)
InstrumentationBridge.registerIastModule(ssrf)
Expand Down Expand Up @@ -68,7 +69,7 @@ class IastHttpClientInstrumentationTest extends AgentTestRunner {
return new BasicHttpRequest("GET", server.address.toString())
}

private static HttpHost getHttpHost(final server){
private static HttpHost getHttpHost(final TestHttpServer server){
return new HttpHost(server.address.host, server.address.port, server.address.scheme)
}
}

0 comments on commit 8d14417

Please sign in to comment.