[JAVA-1265] Review build time

* Migrate UserMapperUnitTest to UserMapperIntegrationTest as it uses
Spring and takes a lot of time to execute
This commit is contained in:
dupirefr
2020-04-11 18:16:13 +02:00
parent bbf1368cc0
commit 48e1dd475c
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Bookstore</name>
<parent>
<artifactId>jhipster-5</artifactId>
<groupId>com.baeldung.jhipster</groupId>
@@ -982,7 +982,7 @@
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<artifactId>frontend-maven-plugin</artifactId>
<versionRange>${frontend-maven-plugin.version}</versionRange>
<goals>
<goal>install-node-and-npm</goal>

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = BookstoreApp.class)
public class UserMapperUnitTest {
public class UserMapperIntegrationTest {
private static final String DEFAULT_LOGIN = "johndoe";