We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d354d38 commit 5f4cc62Copy full SHA for 5f4cc62
dd-java-agent/appsec/src/test/groovy/com/datadog/appsec/ddwaf/WAFModuleSpecification.groovy
@@ -1826,8 +1826,8 @@ class WAFModuleSpecification extends DDSpecification {
1826
1827
def 'internal-api WafErrorCode enum matches libddwaf-java by name and code'() {
1828
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] }
+ def libddwaf = LibWafErrorCode.values().collectEntries { [it.name(), it.code] }
+ def internal = InternalWafErrorCode.values().collectEntries { [it.name(), it.code] }
1831
1832
expect:
1833
internal == libddwaf
0 commit comments