Merge pull request #6704 from myluckagain/BAEL2477

Moved to new module
This commit is contained in:
ashleyfrieze 2019-04-11 21:45:26 +01:00 committed by GitHub
commit 759bcd045b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.customer;
package com.baeldung.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;

View File

@ -1,5 +1,6 @@
package com.baeldung.customer;
package com.baeldung.repository;
import com.baeldung.entity.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

View File

@ -1,8 +1,6 @@
package com.baeldung.customer;
package com.baeldung.repository;
import com.baeldung.config.PersistenceConfiguration;
import com.baeldung.config.PersistenceProductConfiguration;
import com.baeldung.config.PersistenceUserConfiguration;
import com.baeldung.entity.Customer;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -17,7 +15,7 @@ import java.util.List;
import static org.junit.Assert.assertEquals;
@DataJpaTest(excludeAutoConfiguration = { PersistenceConfiguration.class, PersistenceUserConfiguration.class, PersistenceProductConfiguration.class })
@DataJpaTest
@RunWith(SpringRunner.class)
public class CustomerRepositoryIntegrationTest {