diff --git a/java-recaptchaenterprise/samples/snippets/cloud-client/src/pom.xml b/java-recaptchaenterprise/samples/snippets/cloud-client/src/pom.xml
index 322243cfe049..f9e66a936fe2 100644
--- a/java-recaptchaenterprise/samples/snippets/cloud-client/src/pom.xml
+++ b/java-recaptchaenterprise/samples/snippets/cloud-client/src/pom.xml
@@ -110,7 +110,7 @@
org.springframework.boot
spring-boot-starter-test
- 2.7.1
+ 2.7.2
test