Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 02aeb035

Přidáno uživatelem Lukas Cerny před téměř 6 roky(ů)

Fixed JUnit test via Maven

Zobrazit rozdíly:

server/pom.xml
97 97
                    </execution>
98 98
                </executions>
99 99
            </plugin>
100
            <plugin>
101
                <groupId>org.apache.maven.plugins</groupId>
102
                <artifactId>maven-surefire-plugin</artifactId>
103
                <version>2.19.1</version>
104
                <dependencies>
105
                    <dependency>
106
                        <groupId>org.junit.platform</groupId>
107
                        <artifactId>junit-platform-surefire-provider</artifactId>
108
                        <version>1.1.0</version>
109
                    </dependency>
110
                    <dependency>
111
                        <groupId>org.junit.jupiter</groupId>
112
                        <artifactId>junit-jupiter-engine</artifactId>
113
                        <version>5.1.0</version>
114
                    </dependency>
115
                </dependencies>
116
            </plugin>
100 117
        </plugins>
101 118
    </build>
102 119

  
server/src/test/java/cz/zcu/yamanager/ws/rest/TestControllerTest.java
22 22

  
23 23
    @Test
24 24
    void hello_inEnglish_true() {
25
        assertEquals("english language", testController.hello());
25
        assertEquals("It works!!", testController.hello());
26 26
    }
27 27
}

Také k dispozici: Unified diff