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

See gh-31267
pull/31279/head
Andy Wilkinson 2 years ago
parent 95e0d6c0f7
commit 0834dc5b01

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
@Component @Component
public class HelloWorldService { public class HelloWorldService {
@Value("${name:World}") @Value("${test.name:World}")
private String name; private String name;
public String getHelloMessage() { public String getHelloMessage() {

Loading…
Cancel
Save