diff --git a/src/functionalTest/java/uk/gov/hmcts/reform/cwrdapi/StaffRefDataSkillsFunctionalTest.java b/src/functionalTest/java/uk/gov/hmcts/reform/cwrdapi/StaffRefDataSkillsFunctionalTest.java index 351cc83f7..c01d53376 100644 --- a/src/functionalTest/java/uk/gov/hmcts/reform/cwrdapi/StaffRefDataSkillsFunctionalTest.java +++ b/src/functionalTest/java/uk/gov/hmcts/reform/cwrdapi/StaffRefDataSkillsFunctionalTest.java @@ -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); } diff --git a/src/main/resources/db/migration/V1_28__update_skill_table.sql b/src/main/resources/db/migration/V1_28__update_skill_table.sql new file mode 100644 index 000000000..6d4e27a03 --- /dev/null +++ b/src/main/resources/db/migration/V1_28__update_skill_table.sql @@ -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()));