From e9f933ff8f8011188cc9e2ae3b5aa10bd3ba8071 Mon Sep 17 00:00:00 2001 From: Sven Hettwer Date: Thu, 5 Sep 2019 17:13:29 +0200 Subject: [PATCH] (citrusframework/citrus-db#29) Removed test that makes no sense --- .../statement/JdbcCallableStatementTest.java | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/driver/src/test/java/com/consol/citrus/db/driver/statement/JdbcCallableStatementTest.java b/driver/src/test/java/com/consol/citrus/db/driver/statement/JdbcCallableStatementTest.java index d260675..e3771fc 100644 --- a/driver/src/test/java/com/consol/citrus/db/driver/statement/JdbcCallableStatementTest.java +++ b/driver/src/test/java/com/consol/citrus/db/driver/statement/JdbcCallableStatementTest.java @@ -999,7 +999,7 @@ public void testParametersMixedParametersAreOrderedCorrectly() throws SQLExcepti callableStatement.registerOutParameter(2, Types.VARCHAR); callableStatement.registerOutParameter(parameterName, Types.VARCHAR); - final String expectedStatement = "CALL myFunction(:foo,?) - (foobar, bar)"; + final String expectedStatement = "CALL myFunction(:foo,?) - (foobar,bar)"; //WHEN callableStatement.setParameter(2, "bar"); @@ -1009,25 +1009,6 @@ public void testParametersMixedParametersAreOrderedCorrectly() throws SQLExcepti assertEquals(callableStatement.composeStatement(), expectedStatement); } - @Test - public void testAnonymousNamedParametersAreOrderedCorrectly() { - - //GIVEN - final String parameter1 = "z-param"; - final String parameter2 = "a-param"; - final JdbcCallableStatement callableStatement = generateCallableStatement(); - callableStatement.registerOutParameter(parameter1, Types.VARCHAR); - callableStatement.registerOutParameter(parameter2, Types.VARCHAR); - final String expectedStatement = "CALL myFunction(?,?) - (foo,bar)"; - - //WHEN - callableStatement.setString(parameter1,"foo"); - callableStatement.setString(parameter2, "bar"); - - //THEN - assertEquals(callableStatement.composeStatement(), expectedStatement); - } - @Test public void testToString(){ ToStringVerifier