Skip to content

Commit

Permalink
12.6.4 removed unnecessary test (#2507)
Browse files Browse the repository at this point in the history
* Removed conflicted lines

* Removed unnecessary test
  • Loading branch information
tkyc authored Aug 28, 2024
1 parent 99ca9a0 commit 852d49c
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,6 @@ public static void setupTest() throws Exception {
}
}

@Test
public void testCallableStatementClosedConnection() {
try (SQLServerCallableStatement stmt = (SQLServerCallableStatement) connection.prepareCall("sproc")) {
stmt.close(); // Prematurely close the statement, which causes inOutParams to be null.
stmt.setStructured("myParam", "myTvp", (SQLServerDataTable) null);
fail(TestResource.getResource("R_expectedFailPassed"));
} catch (Exception e) {
assertEquals(TestResource.getResource("R_statementClosed"), e.getMessage());
}
}

// Test Needs more work to be configured to run on azureDB as there are slight differences
// between the regular SQL Server vs. azureDB
@Test
Expand Down

0 comments on commit 852d49c

Please sign in to comment.