HHH-12851 ConverterTest fails with SQL Server depending on collation

This commit is contained in:
Martin Simka 2018-07-23 16:16:38 +02:00 committed by Guillaume Smet
parent 27449d2dc2
commit 3e8b35a370
1 changed files with 3 additions and 3 deletions

View File

@ -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() );
} );
}