2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-25 07:27:12 -07:00

Added second test

This commit is contained in:
Geert Bevin 2023-02-12 13:25:39 -05:00
parent 78b8051c2d
commit a042ca3b65

View file

@ -9,6 +9,12 @@ import rife.test.MockConversation;
import static org.junit.jupiter.api.Assertions.*;
public class AppTest {
@Test
void verifyRoot() {
var m = new MockConversation(new App());
assertEquals(m.doRequest("/").getStatus(), 302);
}
@Test
void verifyHello() {
var m = new MockConversation(new App());