Skip to content

Commit

Permalink
Fix JUnit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jacodg committed May 7, 2024
1 parent dff97b4 commit b01209b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/resources/springTestToolTestJUnit-forDbStorage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@

<!--
Without connection pooling (takes much longer to run all tests). E.g. when using:
<bean name="dataSource" class="org.h2.jdbcx.JdbcDataSource">
<bean name="ladybugDataSource" class="org.h2.jdbcx.JdbcDataSource">
<property name="URL" value="jdbc:h2:./data/database-storage/ladybug"/>
</bean>
-->
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
<bean name="ladybugDataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="org.h2.Driver"/>
<property name="url" value="jdbc:h2:./data/database-storage/ladybug"/>
</bean>

<bean name="ladybugDatabaseChangelog" class="liquibase.integration.spring.SpringLiquibase">
<property name="dataSource" ref="dataSource" />
<property name="dataSource" ref="ladybugDataSource" />
<property name="changeLog" value="classpath:ladybug/DatabaseChangelog.xml" />
</bean>

Expand Down

0 comments on commit b01209b

Please sign in to comment.