diff --git a/app/models/case_log.rb b/app/models/case_log.rb index f35cec3be..e23d12f03 100644 --- a/app/models/case_log.rb +++ b/app/models/case_log.rb @@ -110,14 +110,6 @@ class CaseLog < ApplicationRecord end end - def location_admin_district - if location - location.location_admin_district - else - super - end - end - def postcode_full if location location.postcode diff --git a/spec/models/case_log_spec.rb b/spec/models/case_log_spec.rb index 635982e4f..9ffb03eae 100644 --- a/spec/models/case_log_spec.rb +++ b/spec/models/case_log_spec.rb @@ -1685,10 +1685,6 @@ RSpec.describe CaseLog do expect(record_from_db["location_id"]).to eq(location.id) expect(case_log["location_id"]).to eq(location.id) end - - it "derives location_admin_district" do - expect(case_log.location_admin_district).to eq(location.location_admin_district) - end end context "and not renewal" do