Skip to content

Commit

Permalink
Fix naming of integration tests to make sure we can run the ones for …
Browse files Browse the repository at this point in the history
…Hibernate and Eclipselink independently.

Ticket: #2899.
  • Loading branch information
odrotbohm committed Apr 5, 2023
1 parent 5b5470c commit f7152d1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@ExtendWith(SpringExtension.class)
@ContextConfiguration({ "classpath:eclipselink.xml", "classpath:config/namespace-application-context.xml" })
@Transactional
class QueryByExampleEclipseLinkIntegrationTests {
class EclipseLinkQueryByExampleIntegrationTests {

@Autowired RoleRepository repository;
@Autowired EntityManager em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@ExtendWith(SpringExtension.class)
@ContextConfiguration({ "classpath:hibernate.xml", "classpath:config/namespace-application-context.xml" })
@Transactional
class QueryByExampleHibernateIntegrationTests {
class QueryByExampleIntegrationTests {

@Autowired RoleRepository repository;
@Autowired EntityManager em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
@ExtendWith(SpringExtension.class)
@ContextConfiguration
@Transactional
class MetaAnnotatedQueryMethodEclipseLinkIntegrationTests {
class EclipseLinkMetaAnnotatedQueryMethodIntegrationTests {

@Autowired RoleRepositoryWithMeta repository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
@ExtendWith(SpringExtension.class)
@ContextConfiguration
@Transactional
class MetaAnnotatedQueryMethodHibernateIntegrationTests {
class MetaAnnotatedQueryMethodIntegrationTests {

@Autowired RoleRepositoryWithMeta repository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
* @author Yuriy Tsarkov
*/
@ExtendWith(SpringExtension.class)
@ContextConfiguration(classes = QueryWithNullLikeHibernateIntegrationTests.Config.class)
@ContextConfiguration(classes = QueryWithNullLikeIntegrationTests.Config.class)
@Transactional
class QueryWithNullLikeHibernateIntegrationTests {
class QueryWithNullLikeIntegrationTests {

@Autowired EmployeeWithNullLikeRepository repository;

Expand Down

0 comments on commit f7152d1

Please sign in to comment.