mirror of
https://github.com/ethauvin/rife2-hello.git
synced 2025-04-26 15:48:13 -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.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
public class AppTest {
|
public class AppTest {
|
||||||
|
@Test
|
||||||
|
void verifyRoot() {
|
||||||
|
var m = new MockConversation(new App());
|
||||||
|
assertEquals(m.doRequest("/").getStatus(), 302);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void verifyHello() {
|
void verifyHello() {
|
||||||
var m = new MockConversation(new App());
|
var m = new MockConversation(new App());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue