Skip to content

Commit

Permalink
Merge pull request #987 from hmcts/COT-904
Browse files Browse the repository at this point in the history
COT-904
  • Loading branch information
rajkatla-hmcts authored Nov 20, 2024
2 parents 2b7dfea + 8285509 commit 0311fc4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void should_return_service_skills_with_status_code_200_when_flag_true() {
assertThat(staffWorkerSkillResponse.getServiceSkills().size()).isGreaterThan(0);

ServiceSkill serviceSkill = staffWorkerSkillResponse.getServiceSkills().get(0);
assertThat(serviceSkill.getId()).isEqualTo("BHA1");
assertThat(serviceSkill.getId()).isEqualTo("AAA7");
assertThat(serviceSkill.getSkills().size()).isGreaterThanOrEqualTo(1);

}
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/db/migration/V1_28__update_skill_table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES
(42,'SKILL:AAA7:DAMAGES_CCMC_CMC_MANAGEMENT','CCMC/CMC Management','AAA7','Future Operations',timezone('utc', now()),timezone('utc', now()));
INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES
(43,'SKILL:AAA6:MONEY_CLAIMS_CCMC_CMC_MANAGEMENT','CCMC/CMC Management','AAA6','Future Operations',timezone('utc', now()),timezone('utc', now()));
INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES
(44,'SKILL:AAA7:DAMAGES_MULTI_TRACK_TRIAL_MANAGEMENT','Multi and Intermediate Track Trial Management','AAA7','Future Operations',timezone('utc', now()),timezone('utc', now()));
INSERT INTO SKILL(skill_id,skill_code,description,service_id,user_type,created_date,last_update) VALUES
(45,'SKILL:AAA6:SPECIFIED_MULTI_TRACK_TRIAL_MANAGEMENT','Multi and Intermediate Track Trial Management','AAA6','Future Operations',timezone('utc', now()),timezone('utc', now()));

0 comments on commit 0311fc4

Please sign in to comment.