HHH-12851 ConverterTest fails with SQL Server depending on collation
This commit is contained in:
parent
27449d2dc2
commit
3e8b35a370
|
@ -40,7 +40,7 @@ public class ConverterTest extends BaseEntityManagerFunctionalTestCase {
|
|||
doInJPA( this::entityManagerFactory, entityManager -> {
|
||||
Photo photo = new Photo();
|
||||
photo.setId( 1 );
|
||||
photo.setName( "Dorobanțul" );
|
||||
photo.setName( "Dorobantul" );
|
||||
photo.setCaption( new Caption( "Nicolae Grigorescu" ) );
|
||||
|
||||
entityManager.persist( photo );
|
||||
|
@ -59,7 +59,7 @@ public class ConverterTest extends BaseEntityManagerFunctionalTestCase {
|
|||
.getSingleResult();
|
||||
//end::basic-attribute-converter-query-parameter-converter-dbdata-example[]
|
||||
|
||||
assertEquals( "Dorobanțul", photo.getName() );
|
||||
assertEquals( "Dorobantul", photo.getName() );
|
||||
} );
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ public class ConverterTest extends BaseEntityManagerFunctionalTestCase {
|
|||
.getSingleResult();
|
||||
//end::basic-attribute-converter-query-parameter-converter-object-example[]
|
||||
|
||||
assertEquals( "Dorobanțul", photo.getName() );
|
||||
assertEquals( "Dorobantul", photo.getName() );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue