Skip to content

Commit

Permalink
Merge branch '2023.1.x'
Browse files Browse the repository at this point in the history
Closes gh-819
rainboyan committed Dec 23, 2024

Verified

This commit was signed with the committer’s verified signature.
rainboyan Michael Yan
2 parents 26af0f2 + 9369e80 commit ef61e8e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;

@@ -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) {

0 comments on commit ef61e8e

Please sign in to comment.