From 46c121994a4d1446eeb4edd0fa7a1fe6473f1b72 Mon Sep 17 00:00:00 2001 From: Carolyn Date: Tue, 25 Feb 2025 18:31:32 +0000 Subject: [PATCH] lint --- app/controllers/test_data_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/test_data_controller.rb b/app/controllers/test_data_controller.rb index 88658a72c..77e8041f0 100644 --- a/app/controllers/test_data_controller.rb +++ b/app/controllers/test_data_controller.rb @@ -52,7 +52,6 @@ class TestDataController < ApplicationController return render_not_found unless FeatureToggle.create_test_logs_enabled? file = Tempfile.new("#{year}_test_sales_log.csv") - # saledate { Time.zone.today } log = FactoryBot.create(:sales_log, :completed, assigned_to: current_user, value: 180_000, deposit: 150_000, county: "Somerset", saledate: Time.zone.local(year.to_i, rand(4..12), rand(1..28))) log_to_csv = BulkUpload::SalesLogToCsv.new(log:, line_ending: "\n", overrides: { organisation_id: "ORG#{log.owning_organisation_id}", managing_organisation_id: "ORG#{log.owning_organisation_id}" }) file.write(log_to_csv.default_field_numbers_row) @@ -69,4 +68,3 @@ class TestDataController < ApplicationController end end end -