Browse Source

fixup! CLDC-4136: Hide question from CDS export

use correct year in dates
CLDC-4136-remove-building-type
Samuel Young 2 days ago
parent
commit
f7a6f9cb0d
  1. 10
      spec/services/csv/lettings_log_csv_service_spec.rb

10
spec/services/csv/lettings_log_csv_service_spec.rb

@ -203,13 +203,13 @@ RSpec.describe Csv::LettingsLogCsvService do
:ignore_validation_errors, :ignore_validation_errors,
created_by: user, created_by: user,
assigned_to: user, assigned_to: user,
created_at: Time.zone.local(2025, 4, 1), created_at: Time.zone.local(2026, 4, 1),
updated_at: Time.zone.local(2025, 4, 1), updated_at: Time.zone.local(2026, 4, 1),
owning_organisation: organisation, owning_organisation: organisation,
managing_organisation: organisation, managing_organisation: organisation,
needstype: 1, needstype: 1,
renewal: 0, renewal: 0,
startdate: Time.zone.local(2025, 4, 1), startdate: Time.zone.local(2026, 4, 1),
rent_type: 1, rent_type: 1,
tenancycode: "HIJKLMN", tenancycode: "HIJKLMN",
propcode: "ABCDEFG", propcode: "ABCDEFG",
@ -424,9 +424,9 @@ RSpec.describe Csv::LettingsLogCsvService do
builtype: 1, builtype: 1,
wchair: 1, wchair: 1,
beds: 3, beds: 3,
voiddate: Time.zone.local(2025, 3, 30), voiddate: Time.zone.local(2026, 3, 30),
majorrepairs: 1, majorrepairs: 1,
mrcdate: Time.zone.local(2025, 3, 31), mrcdate: Time.zone.local(2026, 3, 31),
joint: 3, joint: 3,
startertenancy: 1, startertenancy: 1,
tenancy: 4, tenancy: 4,

Loading…
Cancel
Save