Schedule and coaching#7
Conversation
…ches, gettrainingschedule
…x in user service
…cate orElseThrow()->UserNotFounds
| @PutMapping("/agreement/withdraw/{agreementId}") | ||
| public ResponseEntity<CoachClientAgreementResponseDto> withdrawCoachesAgreementAcceptance(@RequestHeader("X-AUTH-ID") String coachAuthId, | ||
| @PathVariable String agreementId){ | ||
| //TODO: Alert user of withdrawal. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
| public ResponseEntity<CoachClientAgreementResponseDto> withdrawCoachesAgreementAcceptance(@RequestHeader("X-AUTH-ID") String coachAuthId, | ||
| @PathVariable String agreementId){ | ||
| //TODO: Alert user of withdrawal. | ||
| //TODO: Alert billing service of end of contract. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
| } | ||
|
|
||
| public CoachClientAgreementResponseDto withdrawCoachesAgreementAcceptance(CoachClientAgreement agreementToChange) { | ||
| //TODO: Alter this to mirror the client one. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
|
|
||
| @BeforeEach | ||
| void setUp(){ | ||
| RestAssured.baseURI = "http://localhost:" + port + "/clients/coaching"; |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling. Note test
No description provided.