replace
This commit is contained in:
parent
34c0cbe8e3
commit
0554797999
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.customer;
|
package com.baeldung.entity;
|
||||||
|
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
|
@ -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.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.data.repository.query.Param;
|
|
@ -1,8 +1,6 @@
|
||||||
package com.baeldung.customer;
|
package com.baeldung.repository;
|
||||||
|
|
||||||
import com.baeldung.config.PersistenceConfiguration;
|
import com.baeldung.entity.Customer;
|
||||||
import com.baeldung.config.PersistenceProductConfiguration;
|
|
||||||
import com.baeldung.config.PersistenceUserConfiguration;
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
@ -17,7 +15,7 @@ import java.util.List;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = { PersistenceConfiguration.class, PersistenceUserConfiguration.class, PersistenceProductConfiguration.class })
|
@DataJpaTest
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
public class CustomerRepositoryIntegrationTest {
|
public class CustomerRepositoryIntegrationTest {
|
||||||
|
|
Loading…
Reference in New Issue