From 9369e802d7aa8aa40854d9b4194541a85cc77193 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Mon, 23 Dec 2024 17:26:39 +0800 Subject: [PATCH] Update DataSourcePluginConfigurationTests Closes gh-818 --- .../plugins/datasource/DataSourcePluginConfigurationTests.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/grace-plugin-datasource/src/test/groovy/org/grails/plugins/datasource/DataSourcePluginConfigurationTests.java b/grace-plugin-datasource/src/test/groovy/org/grails/plugins/datasource/DataSourcePluginConfigurationTests.java index 4391121e2e..b07f356bd9 100644 --- a/grace-plugin-datasource/src/test/groovy/org/grails/plugins/datasource/DataSourcePluginConfigurationTests.java +++ b/grace-plugin-datasource/src/test/groovy/org/grails/plugins/datasource/DataSourcePluginConfigurationTests.java @@ -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) {