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
Add unique names to cache supervisors in tests (#3055)
Vini Brasil41c88c4fa03f
diff --git a/test/plausible/site/cache_test.exs b/test/plausible/site/cache_test.exsindex b6733892e6..99205b12e3 100644--- a/test/plausible/site/cache_test.exs+++ b/test/plausible/site/cache_test.exs@@ -30,7 +30,7 @@ defmodule Plausible.Site.CacheTest do{:ok, _} =Supervisor.start_link([{Cache, [cache_name: test, child_id: :test_cache_caches_id]}],strategy: :one_for_one,- name: Test.Supervisor.Cache+ name: :"cache_supervisor_#{test}")%{id: first_id} = site1 = insert(:site, domain: "site1.example.com")@@ -58,7 +58,7 @@ defmodule Plausible.Site.CacheTest doSupervisor.start_link([{Cache, [cache_name: test, child_id: :test_cache_caches_revenue_goals]}],strategy: :one_for_one,- name: Test.Supervisor.Cache+ name: :"cache_supervisor_#{test}")%{id: site_id} = site = insert(:site, domain: "site1.example.com")@@ -89,7 +89,7 @@ defmodule Plausible.Site.CacheTest doSupervisor.start_link([{Cache, [cache_name: test, child_id: :test_revenue_goals_event_refresh]}],strategy: :one_for_one,- name: Test.Supervisor.Cache+ name: :"cache_supervisor_#{test}")yesterday = DateTime.utc_now() |> DateTime.add(-1 * 60 * 60 * 24)