File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/test/java/org/mybatis/spring/transaction Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2010-2022 the original author or authors.
2
+ * Copyright 2010-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -42,6 +42,8 @@ void shouldNoOpWithTx() throws Exception {
42
42
txManager .commit (status );
43
43
}
44
44
45
+ // TODO Test does not compile
46
+ // @Disabled
45
47
// @Test
46
48
// public void shouldManageWithOtherDatasource() throws Exception {
47
49
// DefaultTransactionDefinition txDef = new DefaultTransactionDefinition();
@@ -53,8 +55,8 @@ void shouldNoOpWithTx() throws Exception {
53
55
// false);
54
56
// transaction.commit();
55
57
// transaction.close();
56
- // assertEquals("should call commit on Connection", 1, connection.getNumberCommits() );
57
- // assertTrue("should close the Connection", connection.isClosed() );
58
+ // assertEquals(1, connection.getNumberCommits(), "should call commit on Connection");
59
+ // assertTrue(connection.isClosed(), "should close the Connection");
58
60
//
59
61
// txManager.commit(status);
60
62
// }
You can’t perform that action at this time.
0 commit comments