Skip to content

Commit

Permalink
set timezone on timezone-unaware test
Browse files Browse the repository at this point in the history
  • Loading branch information
NortySpock committed Nov 13, 2024
1 parent 9e8ad71 commit 1e3a4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/teiserver/helpers/timex_helper_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule Teiserver.Helper.TimexHelperTest do
end

# Now test it runs with just a "now" argument
assert TimexHelper.date_to_str(@today) == "2013-12-04"
assert TimexHelper.date_to_str(@today, tz: "Europe/London") == "2013-12-04"
end

test "date_to_str until" do
Expand Down

0 comments on commit 1e3a4ab

Please sign in to comment.