Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix test

Uku Taht9308092184d8
diff --git a/test/plausible/stats/query_test.exs b/test/plausible/stats/query_test.exs
index fe259dbf83..b093fcfb17 100644
--- a/test/plausible/stats/query_test.exs
+++ b/test/plausible/stats/query_test.exs
@@ -76,7 +76,7 @@ defmodule Plausible.Stats.QueryTest do
q = Query.from(@site, %{"period" => "all"})
assert q.date_range.first == @site_inserted_at
- assert q.date_range.last == Timex.today() |> Timex.end_of_month()
+ assert q.date_range.last == Timex.today()
assert q.period == "all"
assert q.interval == "month"
end