Use main as the branch name in info endpoint example

Closes gh-25865
pull/26093/head
Andy Wilkinson 4 years ago
parent b7df0508ac
commit cbf37b3a8b

@ -80,7 +80,7 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests {
@Bean @Bean
GitInfoContributor gitInfoContributor() { GitInfoContributor gitInfoContributor() {
Properties properties = new Properties(); Properties properties = new Properties();
properties.put("branch", "master"); properties.put("branch", "main");
properties.put("commit.id", "df027cf1ec5aeba2d4fedd7b8c42b88dc5ce38e5"); properties.put("commit.id", "df027cf1ec5aeba2d4fedd7b8c42b88dc5ce38e5");
properties.put("commit.id.abbrev", "df027cf"); properties.put("commit.id.abbrev", "df027cf");
properties.put("commit.time", Long.toString(System.currentTimeMillis())); properties.put("commit.time", Long.toString(System.currentTimeMillis()));

Loading…
Cancel
Save