Skip to content

Commit 5abc50f

Browse files
committed
fix test
1 parent 4496f48 commit 5abc50f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dd-smoke-tests/appsec/springboot/src/test/groovy/datadog/smoketest/appsec/SpringBootSmokeTest.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,9 @@ class SpringBootSmokeTest extends AbstractAppSecServerSmokeTest {
609609

610610
then:
611611
response.code() == 403
612-
responseBodyStr == '{"errors":[{"title":"You\'ve been blocked","detail":"Sorry, you cannot access this page. Please contact the customer service team. Security provided by Datadog."}]}\n'
612+
responseBodyStr.contains('"title":"You\'ve been blocked"')
613+
responseBodyStr.contains('"detail":"Sorry, you cannot access this page. Please contact the customer service team. Security provided by Datadog."')
614+
responseBodyStr.contains('"security_response_id":')
613615

614616
when:
615617
waitForTraceCount(1)

0 commit comments

Comments
 (0)