Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set timezone on timezone-unaware test #524

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ defmodule Teiserver.MixProject do
{:mock, "~> 0.3.0", only: :test},

# Teiserver libs
{:openskill, git: "https://github.com/beyond-all-reason/openskill.ex.git", branch: "master"},
{:openskill,
git: "https://github.com/beyond-all-reason/openskill.ex.git", branch: "master"},
{:cowboy, "~> 2.9"},
{:statistics, "~> 0.6.2"},
{:csv, "~> 2.4"},
Expand Down
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
Loading