Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 28, 2025
1 parent af4a572 commit ab7e6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/entries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def respond_to_ai

def email_replies_test
user = User.find(73069)
entry_every_day = user.entries.size == (Date.today - Date.parse("2025-01-25")).to_i
entry_every_day = user.entries.size == (Time.now.in_time_zone(user.send_timezone).to_date - Date.parse("2025-01-25")).to_i
render json: entry_every_day
end

Expand Down

0 comments on commit ab7e6fa

Please sign in to comment.