Commit 6c61cbf5 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #12711 from ruifigueira:feature/test-property-values-doc

* pr/12711:
  Remove outdated reference to `EnvironmentTestUtils`
parents 72cf471e 958aa5db
...@@ -7160,14 +7160,14 @@ which auto-configures one for you. ...@@ -7160,14 +7160,14 @@ which auto-configures one for you.
[[boot-features-environment-test-utilities]] [[boot-features-environment-test-utilities]]
==== EnvironmentTestUtils ==== TestPropertyValues
`EnvironmentTestUtils` lets you quickly add properties to a `TestPropertyValues` lets you quickly add properties to a
`ConfigurableEnvironment` or `ConfigurableApplicationContext`. You can call it with `ConfigurableEnvironment` or `ConfigurableApplicationContext`. You can call it with
`key=value` strings, as follows: `key=value` strings, as follows:
[source,java,indent=0] [source,java,indent=0]
---- ----
EnvironmentTestUtils.addEnvironment(env, "org=Spring", "name=Boot"); TestPropertyValues.of("org=Spring", "name=Boot").applyTo(env);
---- ----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment