@@ -213,28 +213,28 @@ public void shouldPinConnectionCollationTestIsCaseInsensitive() {
213213
214214 @ Test
215215 public void addDefaultConnectionCollationTestUriWithoutParametersAddsTheQueryStringSeparator () {
216- String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name" , "jdbc:mysql" );
216+ String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name" );
217217
218218 Assert .assertEquals ("jdbc:mysql://host:5555/name?connectionCollation=utf8mb4_general_ci" , result );
219219 }
220220
221221 @ Test
222222 public void addDefaultConnectionCollationTestUriWithParametersAddsTheParameterSeparator () {
223- String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?someParams" , "jdbc:mysql" );
223+ String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?someParams" );
224224
225225 Assert .assertEquals ("jdbc:mysql://host:5555/name?someParams&connectionCollation=utf8mb4_general_ci" , result );
226226 }
227227
228228 @ Test
229229 public void addDefaultConnectionCollationTestUriEndingWithQueryStringSeparatorDoesNotDuplicateIt () {
230- String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?" , "jdbc:mysql" );
230+ String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?" );
231231
232232 Assert .assertEquals ("jdbc:mysql://host:5555/name?connectionCollation=utf8mb4_general_ci" , result );
233233 }
234234
235235 @ Test
236236 public void addDefaultConnectionCollationTestUriEndingWithParameterSeparatorDoesNotDuplicateIt () {
237- String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?someParams&" , "jdbc:mysql" );
237+ String result = TransactionLegacy .addDefaultConnectionCollation ("jdbc:mysql://host:5555/name?someParams&" );
238238
239239 Assert .assertEquals ("jdbc:mysql://host:5555/name?someParams&connectionCollation=utf8mb4_general_ci" , result );
240240 }
@@ -243,13 +243,13 @@ public void addDefaultConnectionCollationTestUriEndingWithParameterSeparatorDoes
243243 public void addDefaultConnectionCollationTestUriDefiningConnectionCollationKeepsItUntouched () {
244244 String uri = "jdbc:mysql://host:5555/name?connectionCollation=utf8mb4_unicode_ci" ;
245245
246- Assert .assertEquals (uri , TransactionLegacy .addDefaultConnectionCollation (uri , "jdbc:mysql" ));
246+ Assert .assertEquals (uri , TransactionLegacy .addDefaultConnectionCollation (uri ));
247247 }
248248
249249 @ Test
250250 public void addDefaultConnectionCollationTestUriDefiningCharacterEncodingKeepsItUntouched () {
251251 String uri = "jdbc:mysql://host:5555/name?characterEncoding=UTF-8" ;
252252
253- Assert .assertEquals (uri , TransactionLegacy .addDefaultConnectionCollation (uri , "jdbc:mysql" ));
253+ Assert .assertEquals (uri , TransactionLegacy .addDefaultConnectionCollation (uri ));
254254 }
255255}
0 commit comments