Package idatt2106.group3.backend.Web
Class SecurityControllerTest
- java.lang.Object
-
- idatt2106.group3.backend.Web.SecurityControllerTest
-
@SpringBootTest @AutoConfigureMockMvc @ActiveProfiles("test1") public class SecurityControllerTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SecurityControllerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
login_CorrectFormat_StatusOk()
void
login_UserDoesNotExist_StatusUnAuthorized()
void
registration_CorrectFormat_StatusCreated()
void
setup()
void
tearDown()
-
-
-
Method Detail
-
setup
@BeforeEach public void setup()
-
tearDown
@AfterEach public void tearDown()
-
login_UserDoesNotExist_StatusUnAuthorized
@Test public void login_UserDoesNotExist_StatusUnAuthorized() throws java.lang.Exception
- Throws:
java.lang.Exception
-
registration_CorrectFormat_StatusCreated
@Test public void registration_CorrectFormat_StatusCreated() throws java.lang.Exception
- Throws:
java.lang.Exception
-
login_CorrectFormat_StatusOk
@Test public void login_CorrectFormat_StatusOk() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-