BAEL-4321 correct parent in pom and follow test naming convention

This commit is contained in:
Trixi Turny 2020-08-12 21:16:32 +01:00
parent dbe203e40a
commit 5b3ffa4424
2 changed files with 10 additions and 10 deletions

View File

@ -3,16 +3,16 @@
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>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
<groupId>com.baeldung.spring-boot-modules</groupId>
<artifactId>spring-boot-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>yaml-to-pojo</groupId>
<artifactId>demo</artifactId>
<artifactId>spring-boot-data-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo</name>
<description>Demo project for YAML into POJO</description>
<name>spring-boot-data-2</name>
<description>Spring Boot Data Module</description>
<properties>
<java.version>1.8</java.version>

View File

@ -11,7 +11,7 @@ import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.when;
@ExtendWith(MockitoExtension.class)
class TshirtSizeControllerTest {
class TshirtSizeControllerUnitTest {
@Mock
private SizeConverterService service;
@ -20,7 +20,7 @@ class TshirtSizeControllerTest {
private TshirtSizeController tested;
@Test
void givenSizeConverter_whenLabelIsSandCountryCodeIsFr_thenReturnCorrectSize() {
void whenConvertSize_thenOK() {
// Given
String label = "S";