Skip to content

Commit 51c9c64

Browse files
authored
Update NJ Flat EITC rate to TY24 amount (#5995)
* Update Flat EITC rate to TY24 amount * Add updated test for PDF generation
1 parent 1dd5cee commit 51c9c64

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/lib/efile/nj/nj1040_calculator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def calculate_line_58
493493
if @direct_file_data.fed_eic.positive?
494494
(@direct_file_data.fed_eic * 0.4).round
495495
elsif Efile::Nj::NjFlatEitcEligibility.eligible?(@intake)
496-
240
496+
253
497497
else
498498
0
499499
end

spec/lib/efile/nj/nj1040_calculator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ def over_65_birth_year
18951895
allow(Efile::Nj::NjFlatEitcEligibility).to receive(:eligible?).and_return true
18961896
instance.calculate
18971897

1898-
expect(instance.lines[:NJ1040_LINE_58].value).to eq(240)
1898+
expect(instance.lines[:NJ1040_LINE_58].value).to eq(253)
18991899
expect(instance.lines[:NJ1040_LINE_58_IRS].value).to eq(false)
19001900
end
19011901
end

spec/lib/pdf_filler/nj1040_pdf_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,15 +2202,15 @@
22022202
)
22032203
}
22042204

2205-
it "fills line 58 with $240 and does not check federal checkbox" do
2205+
it "fills line 58 with $253 and does not check federal checkbox" do
22062206
allow(Efile::Nj::NjFlatEitcEligibility).to receive(:eligible?).and_return true
22072207

22082208
# thousands
22092209
expect(pdf_fields["58"]).to eq ""
22102210
# hundreds
22112211
expect(pdf_fields["undefined_152"]).to eq "2"
2212-
expect(pdf_fields["undefined_153"]).to eq "4"
2213-
expect(pdf_fields["Text170"]).to eq "0"
2212+
expect(pdf_fields["undefined_153"]).to eq "5"
2213+
expect(pdf_fields["Text170"]).to eq "3"
22142214
# decimals
22152215
expect(pdf_fields["Text171"]).to eq "0"
22162216
expect(pdf_fields["Text172"]).to eq "0"

0 commit comments

Comments
 (0)