RenaimngÄ#
This commit is contained in:
parent
e1b8d3bf12
commit
8ece7713e5
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class GetEmployeesFromProjectTest {
|
|||
private RestTemplate restTemplate;
|
||||
|
||||
@Test
|
||||
void getProjectTest() throws Exception {
|
||||
void getEmployeesFromProjectTest() throws Exception {
|
||||
ProjectEntity project = new ProjectEntity();
|
||||
project.setId(1);
|
||||
project.setComment("comment");
|
||||
|
@ -55,7 +55,7 @@ class GetEmployeesFromProjectTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void getProjectShouldReturnNotFoundResponseWhenProjectIsNotFound() throws Exception {
|
||||
void getEmployeesFromProjectShouldReturnNotFoundResponseWhenProjectIsNotFound() throws Exception {
|
||||
this.mockMvc.perform(get("/projects/1111/employees")
|
||||
.header(HttpHeaders.AUTHORIZATION, getBearerToken())
|
||||
).andExpect(status().isNotFound());
|
||||
|
|
Loading…
Add table
Reference in a new issue