Package restapi
Class UserPublicEndpointTest
java.lang.Object
restapi.UserPublicEndpointTest
@SpringBootTest
@AutoConfigureMockMvc
@TestMethodOrder(org.junit.jupiter.api.MethodOrderer.Alphanumeric.class)
public class UserPublicEndpointTest
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FirebaseService
private org.springframework.test.web.servlet.MockMvc
private com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
mockMvc
@Autowired private org.springframework.test.web.servlet.MockMvc mockMvc -
objectMapper
@Autowired private com.fasterxml.jackson.databind.ObjectMapper objectMapper -
firebaseService
-
-
Constructor Details
-
UserPublicEndpointTest
public UserPublicEndpointTest()
-
-
Method Details
-
aLoginUsernameNotInDB
- Throws:
Exception
-
bCorrectSignup
- Throws:
Exception
-
cCorrectLogin
- Throws:
Exception
-
cLoginWrongPassword
- Throws:
Exception
-
aCorrectLoginAfterSignup
- Throws:
Exception
-
aSignupPhoneEmail
- Throws:
Exception
-
bSignupUsernameAlreadyInUse
- Throws:
Exception
-
bSignupEmailAlreadyInUse
- Throws:
Exception
-
bLoginEmail
- Throws:
Exception
-
bLoginPhoneWrong
- Throws:
Exception
-
bLoginEmailWrong
- Throws:
Exception
-
dLoginLogoutEverywhere
- Throws:
Exception
-