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
@@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = CarappApp.class)
|
||||
public class CarResourceIntTest {
|
||||
public class CarResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_MAKE = "AAAAAAAAAA";
|
||||
private static final String UPDATED_MAKE = "BBBBBBBBBB";
|
||||
+1
-1
@@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = DealerappApp.class)
|
||||
public class DealerResourceIntTest {
|
||||
public class DealerResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_NAME = "AAAAAAAAAA";
|
||||
private static final String UPDATED_NAME = "BBBBBBBBBB";
|
||||
+1
-1
@@ -15,7 +15,7 @@ import static springfox.documentation.swagger2.web.Swagger2Controller.DEFAULT_UR
|
||||
/**
|
||||
* Tests SwaggerBasePathRewritingFilter class.
|
||||
*/
|
||||
public class SwaggerBasePathRewritingFilterTest {
|
||||
public class SwaggerBasePathRewritingFilterIntegrationTest {
|
||||
|
||||
private SwaggerBasePathRewritingFilter filter = new SwaggerBasePathRewritingFilter();
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import java.util.Date;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class TokenProviderTest {
|
||||
public class TokenProviderIntegrationTest {
|
||||
|
||||
private final String secretKey = "e5c9ee274ae87bc031adda32e27fa98b9290da83";
|
||||
private final long ONE_MINUTE = 60000;
|
||||
+1
-1
@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.*;
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
@Transactional
|
||||
public class UserServiceIntTest {
|
||||
public class UserServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private UserRepository userRepository;
|
||||
+1
-1
@@ -40,7 +40,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
public class AccountResourceIntTest {
|
||||
public class AccountResourceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private UserRepository userRepository;
|
||||
+1
-1
@@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
@Transactional
|
||||
public class AuditResourceIntTest {
|
||||
public class AuditResourceIntegrationTest {
|
||||
|
||||
private static final String SAMPLE_PRINCIPAL = "SAMPLE_PRINCIPAL";
|
||||
private static final String SAMPLE_TYPE = "SAMPLE_TYPE";
|
||||
+1
-1
@@ -24,7 +24,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
public class LogsResourceIntTest {
|
||||
public class LogsResourceIntegrationTest {
|
||||
|
||||
private MockMvc restLogsMockMvc;
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
public class UserResourceIntTest {
|
||||
public class UserResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_LOGIN = "johndoe";
|
||||
private static final String UPDATED_LOGIN = "jhipster";
|
||||
+1
-1
@@ -19,7 +19,7 @@ import java.util.Date;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class TokenProviderTest {
|
||||
public class TokenProviderIntegrationTest {
|
||||
|
||||
private final String secretKey = "e5c9ee274ae87bc031adda32e27fa98b9290da83";
|
||||
private final long ONE_MINUTE = 60000;
|
||||
+1
-1
@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.*;
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
@Transactional
|
||||
public class UserServiceIntTest {
|
||||
public class UserServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private UserRepository userRepository;
|
||||
+1
-1
@@ -40,7 +40,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class AccountResourceIntTest {
|
||||
public class AccountResourceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private UserRepository userRepository;
|
||||
+1
-1
@@ -35,7 +35,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
@Transactional
|
||||
public class AuditResourceIntTest {
|
||||
public class AuditResourceIntegrationTest {
|
||||
|
||||
private static final String SAMPLE_PRINCIPAL = "SAMPLE_PRINCIPAL";
|
||||
private static final String SAMPLE_TYPE = "SAMPLE_TYPE";
|
||||
+1
-1
@@ -38,7 +38,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class CommentResourceIntTest {
|
||||
public class CommentResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_TEXT = "AAAAAAAAAA";
|
||||
private static final String UPDATED_TEXT = "BBBBBBBBBB";
|
||||
+1
-1
@@ -24,7 +24,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class LogsResourceIntTest {
|
||||
public class LogsResourceIntegrationTest {
|
||||
|
||||
private MockMvc restLogsMockMvc;
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class PostResourceIntTest {
|
||||
public class PostResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_TITLE = "AAAAAAAAAA";
|
||||
private static final String UPDATED_TITLE = "BBBBBBBBBB";
|
||||
+1
-1
@@ -39,7 +39,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class UserResourceIntTest {
|
||||
public class UserResourceIntegrationTest {
|
||||
|
||||
private static final String DEFAULT_LOGIN = "johndoe";
|
||||
private static final String UPDATED_LOGIN = "jhipster";
|
||||
Reference in New Issue
Block a user