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 test suites that are async and shouldn't be (#5807)
Artur Pata4ecd3cf8f57e
diff --git a/test/plausible_web/controllers/api/external_sites_controller_sites_crud_api_test.exs b/test/plausible_web/controllers/api/external_sites_controller_sites_crud_api_test.exsindex 3ceab88252..66fb3f56bd 100644--- a/test/plausible_web/controllers/api/external_sites_controller_sites_crud_api_test.exs+++ b/test/plausible_web/controllers/api/external_sites_controller_sites_crud_api_test.exs@@ -5,7 +5,7 @@ defmodule PlausibleWeb.Api.ExternalSitesControllerSitesCrudApiTest doThe overlapped tests from that suite can be deleted once the feature flag is enabled globally."""use Plausible- use PlausibleWeb.ConnCase, async: false+ use PlausibleWeb.ConnCaseuse Plausible.Repouse Plausible.Teams.Testuse Bamboo.Testdiff --git a/test/plausible_web/live/installationv2_test.exs b/test/plausible_web/live/installationv2_test.exsindex 20e7fa0e6c..5055f95fa1 100644--- a/test/plausible_web/live/installationv2_test.exs+++ b/test/plausible_web/live/installationv2_test.exs@@ -1,5 +1,5 @@defmodule PlausibleWeb.Live.InstallationV2Test do- use PlausibleWeb.ConnCase, async: true+ use PlausibleWeb.ConnCaseuse Plausibleuse Plausible.Test.Support.DNSdiff --git a/test/plausible_web/live/verification_v2_test.exs b/test/plausible_web/live/verification_v2_test.exsindex 7a67c26041..ab93012494 100644--- a/test/plausible_web/live/verification_v2_test.exs+++ b/test/plausible_web/live/verification_v2_test.exs@@ -1,5 +1,5 @@defmodule PlausibleWeb.Live.VerificationV2Test do- use PlausibleWeb.ConnCase, async: true+ use PlausibleWeb.ConnCaseuse Plausible.Test.Support.DNS@@ -293,7 +293,6 @@ defmodule PlausibleWeb.Live.VerificationV2Test dodefp get_lv(conn, site, qs \\ nil) do{:ok, lv, html} = conn |> no_slowdown() |> live("/#{site.domain}/verification#{qs}")-{lv, html}end