BAEL-4321 correct parent in pom and follow test naming convention
This commit is contained in:
parent
dbe203e40a
commit
5b3ffa4424
spring-boot-modules/spring-boot-data-2
@ -3,16 +3,16 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-modules</artifactId>
|
||||||
<version>2.3.2.RELEASE</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath>../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>yaml-to-pojo</groupId>
|
|
||||||
<artifactId>demo</artifactId>
|
<artifactId>spring-boot-data-2</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>demo</name>
|
<name>spring-boot-data-2</name>
|
||||||
<description>Demo project for YAML into POJO</description>
|
<description>Spring Boot Data Module</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
|
@ -11,7 +11,7 @@ import static org.junit.jupiter.api.Assertions.*;
|
|||||||
import static org.mockito.Mockito.when;
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
@ExtendWith(MockitoExtension.class)
|
@ExtendWith(MockitoExtension.class)
|
||||||
class TshirtSizeControllerTest {
|
class TshirtSizeControllerUnitTest {
|
||||||
|
|
||||||
@Mock
|
@Mock
|
||||||
private SizeConverterService service;
|
private SizeConverterService service;
|
||||||
@ -20,7 +20,7 @@ class TshirtSizeControllerTest {
|
|||||||
private TshirtSizeController tested;
|
private TshirtSizeController tested;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void givenSizeConverter_whenLabelIsSandCountryCodeIsFr_thenReturnCorrectSize() {
|
void whenConvertSize_thenOK() {
|
||||||
|
|
||||||
// Given
|
// Given
|
||||||
String label = "S";
|
String label = "S";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user