This commit is contained in:
Phillip Webb
2013-11-25 17:12:56 -08:00
parent c5911e8634
commit f4f668a52b
11 changed files with 16 additions and 14 deletions

View File

@@ -40,7 +40,8 @@ public class SampleProfileApplicationTests {
public void after() {
if (this.profiles != null) {
System.setProperty("spring.profiles.active", this.profiles);
} else {
}
else {
System.clearProperty("spring.profiles.active");
}
}