Skip to content

Commit 0834dc5

Browse files
committed
Polish "Update smoke tests to avoid conflicts with NAME environment variable"
See gh-31267
1 parent 95e0d6c commit 0834dc5

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty10/src/main/java/smoketest/jetty10/service

1 file changed

+2
-2
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty10/src/main/java/smoketest/jetty10/service/HelloWorldService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@
2222
@Component
2323
public class HelloWorldService {
2424

25-
@Value("${name:World}")
25+
@Value("${test.name:World}")
2626
private String name;
2727

2828
public String getHelloMessage() {

0 commit comments

Comments
 (0)