Skip to content

Commit 852d49c

Browse files
authored
12.6.4 removed unnecessary test (#2507)
* Removed conflicted lines * Removed unnecessary test
1 parent 99ca9a0 commit 852d49c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,6 @@ public static void setupTest() throws Exception {
113113
}
114114
}
115115

116-
@Test
117-
public void testCallableStatementClosedConnection() {
118-
try (SQLServerCallableStatement stmt = (SQLServerCallableStatement) connection.prepareCall("sproc")) {
119-
stmt.close(); // Prematurely close the statement, which causes inOutParams to be null.
120-
stmt.setStructured("myParam", "myTvp", (SQLServerDataTable) null);
121-
fail(TestResource.getResource("R_expectedFailPassed"));
122-
} catch (Exception e) {
123-
assertEquals(TestResource.getResource("R_statementClosed"), e.getMessage());
124-
}
125-
}
126-
127116
// Test Needs more work to be configured to run on azureDB as there are slight differences
128117
// between the regular SQL Server vs. azureDB
129118
@Test

0 commit comments

Comments
 (0)