Fix test names (#1853)
* upgrade to spring boot 1.5.2 * add full update to REST API * modify ratings controller * upgrade herold * fix integration test * fix integration test * minor fix * fix integration test * fix integration test * minor cleanup * minor cleanup * remove log4j properties * use standard logbook.xml * remove log4j dependencies * remove commons-logging * merge * fix conflict * exclude commons-logging dependency * cleanup * minor fix * minor fix * fix dependency issues * Revert "fix dependency issues" This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec. * fix dependency issues * minor fix * minor fix * minor fix * cleanup generated files * fix commons-logging issue * add parent to pom * cleanup parent dependencies * cleanup pom * cleanup pom * add missing parent * fix logging issue * fix test names
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
|
||||
import com.baeldung.utils.controller.UtilsController;
|
||||
|
||||
public class UtilsControllerTest {
|
||||
public class UtilsControllerIntegrationTest {
|
||||
|
||||
@InjectMocks
|
||||
private UtilsController utilsController;
|
||||
+1
-1
@@ -26,7 +26,7 @@ import static org.mockito.Mockito.doReturn;
|
||||
@SpringBootTest(
|
||||
classes = DemoApplication.class,
|
||||
webEnvironment = WebEnvironment.RANDOM_PORT)
|
||||
public class FooComponentTests {
|
||||
public class FooComponentIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private TestRestTemplate testRestTemplate;
|
||||
+1
-1
@@ -14,7 +14,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@DataJpaTest
|
||||
public class FooJPATest {
|
||||
public class FooJPAIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private TestEntityManager entityManager;
|
||||
+1
-1
@@ -12,7 +12,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@JsonTest
|
||||
public class FooJsonTest {
|
||||
public class FooJsonIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private JacksonTester<Foo> json;
|
||||
Reference in New Issue
Block a user