Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
945ce2e6
Commit
945ce2e6
authored
Nov 22, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.1.x' into 2.2.x
Closes gh-19096
parents
58bfbb92
a38e6b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
SampleLiquibaseApplicationTests.java
.../smoketest/liquibase/SampleLiquibaseApplicationTests.java
+16
-0
No files found.
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/src/test/java/smoketest/liquibase/SampleLiquibaseApplicationTests.java
View file @
945ce2e6
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment