feat: Implement add employee to project route (SCRUM-2) #32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/add-employee-to-project"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quality Gate: ❌
See SonarQube for details.
/sq-bot review
c5eeabbdff
to790c2f4bc4
Quality Gate: ❌
See SonarQube for details.
/sq-bot review
@ -0,0 +8,4 @@
"street": "yomom",
"postcode": "yomom",
"city": "yomom",
"phone": "yomom"
@ptran Dont use yomom as test user
feat: Implement add employee to project route (SCRUM-2)to WIP: feat: Implement add employee to project route (SCRUM-2)Quality Gate: ✅
See SonarQube for details.
/sq-bot review
Quality Gate: ✅
See SonarQube for details.
/sq-bot review
WIP: feat: Implement add employee to project route (SCRUM-2)to feat: Implement add employee to project route (SCRUM-2)Quality Gate: ✅
See SonarQube for details.
/sq-bot review
@ -0,0 +37,4 @@
@Test
void addEmployeeToProjectTest() throws Exception {
var project = new ProjectEntity();
dont use var
@ -0,0 +54,4 @@
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isNoContent());
var updatedProject = projectRepository.findById(1L).get();
also here
@ -0,0 +73,4 @@
HttpEntity<MultiValueMap<String, String>> request = new HttpEntity<>(map, headers);
var response = this.restTemplate.exchange(url, HttpMethod.POST, request, Map.class);
and here
Quality Gate: ✅
See SonarQube for details.
/sq-bot review