Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix typos (#1829)
Kian-Meng Ang70cb3eed54c2
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 02dd798ac0..0a91c457e1 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -9,7 +9,7 @@ Make sure Docker, Elixir, Erlang and Node.js are all installed on your developme### Start the environment:1. Run both `make postgres` and `make clickhouse`.-2. You can set up everything with `make install`, alternatively run each command seperately:+2. You can set up everything with `make install`, alternatively run each command separately:1. Run `mix deps.get`. This will download the required Elixir dependencies.2. Run `mix ecto.create`. This will create the required databases in both Postgres and Clickhouse.3. Run `mix ecto.migrate` to build the database schema.diff --git a/test/plausible/stats/query_test.exs b/test/plausible/stats/query_test.exsindex 1272c119d4..791db6c26f 100644--- a/test/plausible/stats/query_test.exs+++ b/test/plausible/stats/query_test.exs@@ -17,7 +17,7 @@ defmodule Plausible.Stats.QueryTest doassert q.interval == "hour"end- test "day fromat defaults to today" do+ test "day format defaults to today" doq = Query.from(@site, %{"period" => "day"})assert q.date_range.first == Timex.today()diff --git a/test/plausible_web/controllers/api/stats_controller/conversions_test.exs b/test/plausible_web/controllers/api/stats_controller/conversions_test.exsindex 7c513b377a..3c189af19a 100644--- a/test/plausible_web/controllers/api/stats_controller/conversions_test.exs+++ b/test/plausible_web/controllers/api/stats_controller/conversions_test.exs@@ -54,7 +54,7 @@ defmodule PlausibleWeb.Api.StatsController.ConversionsTest dodescribe "GET /api/stats/:domain/conversions - with goal filter" dosetup [:create_user, :log_in, :create_new_site]- test "returns only the conversion tha is filtered for", %{conn: conn, site: site} do+ test "returns only the conversion that is filtered for", %{conn: conn, site: site} dopopulate_stats(site, [build(:pageview, pathname: "/"),build(:pageview, pathname: "/"),diff --git a/test/workers/check_usage_test.exs b/test/workers/check_usage_test.exsindex 37b71bce01..8964ec5508 100644--- a/test/workers/check_usage_test.exs+++ b/test/workers/check_usage_test.exs@@ -119,7 +119,7 @@ defmodule Plausible.Workers.CheckUsageTest doassert Repo.reload(user).grace_period.allowance_required == 12_000end- test "reccommends a plan to upgrade to", %{+ test "recommends a plan to upgrade to", %{user: user} dobilling_stub =diff --git a/test/workers/import_google_analytics_test.exs b/test/workers/import_google_analytics_test.exsindex 71857fd45e..996408187a 100644--- a/test/workers/import_google_analytics_test.exs+++ b/test/workers/import_google_analytics_test.exs@@ -12,7 +12,7 @@ defmodule Plausible.Workers.ImportGoogleAnalyticsTest dostatus: "importing"}- test "updates the imported_data field for the site after succesful import" do+ test "updates the imported_data field for the site after successful import" douser = insert(:user, trial_expiry_date: Timex.today() |> Timex.shift(days: 1))site = insert(:site, members: [user], imported_data: @imported_data)@@ -40,7 +40,7 @@ defmodule Plausible.Workers.ImportGoogleAnalyticsTest doassert Repo.reload!(site).imported_data.status == "ok"end- test "updates the stats_start_date field for the site after succesful import" do+ test "updates the stats_start_date field for the site after successful import" douser = insert(:user, trial_expiry_date: Timex.today() |> Timex.shift(days: 1))site = insert(:site, members: [user], imported_data: @imported_data)@@ -68,7 +68,7 @@ defmodule Plausible.Workers.ImportGoogleAnalyticsTest doassert Repo.reload!(site).stats_start_date == @imported_data.start_dateend- test "sends email to owner after succesful import" do+ test "sends email to owner after successful import" douser = insert(:user, trial_expiry_date: Timex.today() |> Timex.shift(days: 1))site = insert(:site, members: [user], imported_data: @imported_data)@@ -127,7 +127,7 @@ defmodule Plausible.Workers.ImportGoogleAnalyticsTest doassert Repo.reload!(site).imported_data.status == "error"end- test "clears any orphaned data during impot" do+ test "clears any orphaned data during import" douser = insert(:user, trial_expiry_date: Timex.today() |> Timex.shift(days: 1))site = insert(:site, members: [user], imported_data: @imported_data)