Commit 945ce2e6 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x' into 2.2.x

Closes gh-19096
parents 58bfbb92 a38e6b4f
......@@ -17,7 +17,10 @@
package smoketest.liquibase;
import java.net.ConnectException;
import java.util.Locale;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
......@@ -30,6 +33,19 @@ import static org.assertj.core.api.Assertions.assertThat;
@ExtendWith(OutputCaptureExtension.class)
class SampleLiquibaseApplicationTests {
private Locale defaultLocale;
@BeforeEach
void init() throws SecurityException {
this.defaultLocale = Locale.getDefault();
Locale.setDefault(Locale.ENGLISH);
}
@AfterEach
void restoreLocale() {
Locale.setDefault(this.defaultLocale);
}
@Test
void testDefaultSettings(CapturedOutput output) throws Exception {
try {
......
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