-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTSRD-2136. Update Name for a given organisation #1573
base: master
Are you sure you want to change the base?
Conversation
edc0631
to
f6ce243
Compare
src/main/java/uk/gov/hmcts/reform/professionalapi/service/impl/OrganisationServiceImpl.java
Outdated
Show resolved
Hide resolved
.../uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalController.java
Outdated
Show resolved
Hide resolved
src/main/java/uk/gov/hmcts/reform/professionalapi/service/impl/OrganisationServiceImpl.java
Outdated
Show resolved
Hide resolved
...egrationTest/java/uk/gov/hmcts/reform/professionalapi/UpdateOrgNameSraIdIntegrationTest.java
Outdated
Show resolved
Hide resolved
...egrationTest/java/uk/gov/hmcts/reform/professionalapi/UpdateOrgNameSraIdIntegrationTest.java
Outdated
Show resolved
Hide resolved
...nalTest/java/uk/gov/hmcts/reform/professionalapi/ProfessionalInternalUserFunctionalTest.java
Outdated
Show resolved
Hide resolved
.../uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalController.java
Outdated
Show resolved
Hide resolved
...gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalControllerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/uk/gov/hmcts/reform/professionalapi/service/impl/OrganisationServiceImplTest.java
Outdated
Show resolved
Hide resolved
responseEntity = restTemplate.exchange(urlPath, HttpMethod.PUT, requestEntity, Map.class); | ||
|
||
} catch (RestClientResponseException ex) { | ||
HashMap<String, Object> statusAndBody = new HashMap<>(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: map creation could be replaced by using Map.of(k1, v1, k2, v2) factory method
return statusAndBody; | ||
} | ||
|
||
Map<String, Object> organisationResponse = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: map creation could be replaced by using Map.of(k1, v1, k2, v2) factory method
9efcae0
… redundant assert checks
Jira link (if applicable)
Change description
Checklist