Skip to content

Commit b05bdbf

Browse files
committed
Polish
1 parent e04ace8 commit b05bdbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/TestDatabaseAutoConfigurationNoEmbeddedTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public void applyAnyReplace() {
7474
public void applyNoReplace() {
7575
load(ExistingDataSourceConfiguration.class, "spring.test.database.replace=NONE");
7676
assertThat(this.context.getBeansOfType(DataSource.class)).hasSize(1);
77-
assertThat(this.context.getBean(DataSource.class)).isSameAs(
78-
this.context.getBean("myCustomDataSource"));
77+
assertThat(this.context.getBean(DataSource.class))
78+
.isSameAs(this.context.getBean("myCustomDataSource"));
7979
}
8080

8181
public void load(Class<?> config, String... environment) {

0 commit comments

Comments
 (0)