This commit is contained in:
Ekaterina Galkina 2019-04-10 18:47:23 +05:00
parent 34c0cbe8e3
commit 0554797999
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 {