Skip to content

Commit 871b6c8

Browse files
authored
Update README.md
1 parent ba6a02e commit 871b6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ It consists of just an Hibernate SQL inspector service and a Spring Test Listene
3232
- Register the Spring TestListener that will launch the SQL inspection is the annotation is present
3333
By adding the listener on each of your integration test:
3434

35-
@SpringBootTest(webEnvironment = RANDOM_PORT)
35+
@SpringBootTest
3636
@TestExecutionListeners(listeners = HibernateStatementCountTestListener.class, mergeMode = TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS)
3737
class TestDatasourceProxyApplicationTests {
38-
...
38+
...
3939
}
4040

4141
Or globally by adding a META-INF/spring.factories file that contains the listener:

0 commit comments

Comments
 (0)