Polish "Update smoke tests to avoid conflicts with NAME environment variable"

See gh-31267
This commit is contained in:
Andy Wilkinson 2022-06-08 12:08:40 +01:00
parent 95e0d6c0f7
commit 0834dc5b01

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
@Component
public class HelloWorldService {
@Value("${name:World}")
@Value("${test.name:World}")
private String name;
public String getHelloMessage() {