From 54c82ea76daa1af97e4652775d84bb946868d95e Mon Sep 17 00:00:00 2001 From: David Norton Date: Tue, 12 Nov 2024 07:01:18 -0600 Subject: [PATCH 1/2] set timezone on timezone-unaware test --- test/teiserver/helpers/timex_helper_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/teiserver/helpers/timex_helper_test.exs b/test/teiserver/helpers/timex_helper_test.exs index f9d35b7a3..f0b1f6ba9 100644 --- a/test/teiserver/helpers/timex_helper_test.exs +++ b/test/teiserver/helpers/timex_helper_test.exs @@ -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 From 99a5c676c21abb92fca6ea3350558517901c704d Mon Sep 17 00:00:00 2001 From: David Norton Date: Wed, 13 Nov 2024 07:06:54 -0600 Subject: [PATCH 2/2] fix formatting on mix.exs --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index e6575f825..75e50603d 100644 --- a/mix.exs +++ b/mix.exs @@ -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"},