Rename tests
This commit is contained in:
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.TestInstance
|
||||
@KtorExperimentalAPI
|
||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||
@Tags(Tag("integration"), Tag("citizen"))
|
||||
class CitizenTest : BaseTest() {
|
||||
class `Citizen routes` : BaseTest() {
|
||||
@Test
|
||||
fun `I can get Citizens informations`() {
|
||||
withIntegrationApplication {
|
||||
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.TestInstance
|
||||
@KtorExperimentalAPI
|
||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||
@Tags(Tag("integration"), Tag("auth"))
|
||||
class LoginTest : BaseTest() {
|
||||
class `Login routes` : BaseTest() {
|
||||
@Test
|
||||
fun `I can login with username and password`() {
|
||||
withIntegrationApplication {
|
||||
@@ -20,9 +20,8 @@ import org.junit.jupiter.api.TestInstance
|
||||
@KtorExperimentalAPI
|
||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||
@Tags(Tag("integration"), Tag("auth"))
|
||||
class RegisterTest : BaseTest() {
|
||||
class `Register routes` : BaseTest() {
|
||||
@Test
|
||||
@Category(RegisterTest::class)
|
||||
fun `I can register`() {
|
||||
withIntegrationApplication {
|
||||
`When I send a POST request`("/register") {
|
||||
Reference in New Issue
Block a user