Skip to content

Commit

Permalink
Update DataSourcePluginConfigurationTests
Browse files Browse the repository at this point in the history
Closes gh-818
  • Loading branch information
rainboyan committed Dec 23, 2024
1 parent b535af3 commit 9369e80
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.springframework.boot.test.util.TestPropertyValues;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.transaction.TransactionManager;

import grails.core.DefaultGrailsApplication;

Expand Down Expand Up @@ -51,7 +50,6 @@ void close() {
void defaultDataSource() {
registerAndRefreshContext("dataSource.url:jdbc:h2:mem:devDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE");
assertThat(this.context.getBean(DataSource.class)).isNotNull();
assertThat(this.context.getBean(TransactionManager.class)).isNotNull();
}

private void registerAndRefreshContext(String... env) {
Expand Down

0 comments on commit 9369e80

Please sign in to comment.