提交 8dc82b96 编写于 作者: S Sam Brannen

Re-enable @Ignore'd TxMgt integration test

See: gh-12857
上级 625e2106
...@@ -21,7 +21,6 @@ import java.util.Collections; ...@@ -21,7 +21,6 @@ import java.util.Collections;
import java.util.List; import java.util.List;
import javax.sql.DataSource; import javax.sql.DataSource;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.springframework.aop.Advisor; import org.springframework.aop.Advisor;
...@@ -51,6 +50,7 @@ import static org.junit.Assert.*; ...@@ -51,6 +50,7 @@ import static org.junit.Assert.*;
* Integration tests for the @EnableTransactionManagement annotation. * Integration tests for the @EnableTransactionManagement annotation.
* *
* @author Chris Beams * @author Chris Beams
* @author Sam Brannen
* @since 3.1 * @since 3.1
*/ */
@SuppressWarnings("resource") @SuppressWarnings("resource")
...@@ -89,13 +89,9 @@ public class EnableTransactionManagementIntegrationTests { ...@@ -89,13 +89,9 @@ public class EnableTransactionManagementIntegrationTests {
assertTxProxying(ctx); assertTxProxying(ctx);
} }
@Ignore @Test // TODO SPR-8207 @Test
public void repositoryIsTxProxy_withNonConventionalTxManagerName_fallsBackToByTypeLookup() { public void repositoryIsTxProxy_withNonConventionalTxManagerName_fallsBackToByTypeLookup() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(); assertTxProxying(new AnnotationConfigApplicationContext(Config.class, NonConventionalTxManagerNameConfig.class));
ctx.register(Config.class, NonConventionalTxManagerNameConfig.class);
ctx.refresh();
assertTxProxying(ctx);
} }
@Test @Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册