Skip to content

Commit 91e1d5e

Browse files
committed
Removing "Overdue FI", "Received LoPs" and "Received ECCTIS" from the CMS status filters as they will never be possible
1 parent a78ba6d commit 91e1d5e

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

app/view_objects/assessor_interface/application_forms_index_view_object.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,14 @@ def flag_as_unsuitable?(application_form)
8484
declined
8585
overdue_consent
8686
overdue_ecctis
87-
overdue_further_information
8887
overdue_lops
8988
overdue_reference
9089
overdue_prioritisation_reference
9190
potential_duplicate_in_dqt
9291
preliminary_check
9392
prioritisation_check
9493
received_consent
95-
received_ecctis
9694
received_further_information
97-
received_lops
9895
received_reference
9996
received_prioritisation_reference
10097
review

spec/system/assessor_interface/filtering_application_forms_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def and_i_apply_the_assessor_filter
164164
end
165165

166166
def and_i_apply_the_statuses_filter
167-
expect(assessor_applications_page.statuses_filter.statuses.count).to eq(29)
167+
expect(assessor_applications_page.statuses_filter.statuses.count).to eq(26)
168168
assessor_applications_page.statuses_filter.statuses.fourth.checkbox.click
169169
assessor_applications_page.apply_filters.click
170170
end

spec/view_objects/assessor_interface/application_forms_index_view_object_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,6 @@
258258
OpenStruct.new(id: "overdue_ecctis", label: "Overdue Ecctis"),
259259
OpenStruct.new(id: "overdue_lops", label: "Overdue LoPS"),
260260
OpenStruct.new(id: "overdue_consent", label: "Overdue consent"),
261-
OpenStruct.new(
262-
id: "overdue_further_information",
263-
label: "Overdue further information",
264-
),
265261
OpenStruct.new(
266262
id: "overdue_prioritisation_reference",
267263
label: "Overdue prioritisation reference",
@@ -272,8 +268,6 @@
272268
label: "Potential duplication in DQT",
273269
),
274270
OpenStruct.new(id: "preliminary_check", label: "Preliminary check"),
275-
OpenStruct.new(id: "received_ecctis", label: "Received Ecctis"),
276-
OpenStruct.new(id: "received_lops", label: "Received LoPS"),
277271
OpenStruct.new(id: "received_consent", label: "Received consent"),
278272
OpenStruct.new(
279273
id: "received_further_information",

0 commit comments

Comments
 (0)