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:
parent
78b8051c2d
commit
a042ca3b65
1 changed files with 6 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue