Skip to content

Commit 5f4cc62

Browse files
committed
fix
1 parent d354d38 commit 5f4cc62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dd-java-agent/appsec/src/test/groovy/com/datadog/appsec/ddwaf/WAFModuleSpecification.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,8 +1826,8 @@ class WAFModuleSpecification extends DDSpecification {
18261826

18271827
def 'internal-api WafErrorCode enum matches libddwaf-java by name and code'() {
18281828
given:
1829-
def libddwaf = com.datadog.ddwaf.WafErrorCode.values().collectEntries { [it.name(), it.code] }
1830-
def internal = datadog.trace.api.telemetry.WafMetricCollector.WafErrorCode.values().collectEntries { [it.name(), it.code] }
1829+
def libddwaf = LibWafErrorCode.values().collectEntries { [it.name(), it.code] }
1830+
def internal = InternalWafErrorCode.values().collectEntries { [it.name(), it.code] }
18311831

18321832
expect:
18331833
internal == libddwaf

0 commit comments

Comments
 (0)