From cbf37b3a8b9d66227ad1129af5ca80d339a132d4 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 1 Apr 2021 16:46:37 +0100 Subject: [PATCH] Use main as the branch name in info endpoint example Closes gh-25865 --- .../web/documentation/InfoEndpointDocumentationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/InfoEndpointDocumentationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/InfoEndpointDocumentationTests.java index 6d934bc91e..1f64642806 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/InfoEndpointDocumentationTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/InfoEndpointDocumentationTests.java @@ -80,7 +80,7 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests { @Bean GitInfoContributor gitInfoContributor() { Properties properties = new Properties(); - properties.put("branch", "master"); + properties.put("branch", "main"); properties.put("commit.id", "df027cf1ec5aeba2d4fedd7b8c42b88dc5ce38e5"); properties.put("commit.id.abbrev", "df027cf"); properties.put("commit.time", Long.toString(System.currentTimeMillis()));