We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb884e commit 751062aCopy full SHA for 751062a
1 file changed
test/plausible_web/controllers/site_controller_test.exs
@@ -977,6 +977,24 @@ defmodule PlausibleWeb.SiteControllerTest do
977
insert(:spike_notification, site: site)
978
insert(:drop_notification, site: site)
979
980
+ {:ok, g1} = Plausible.Goals.create(site, %{"page_path" => "/go/to/blog/**"})
981
+ {:ok, g2} = Plausible.Goals.create(site, %{"event_name" => "Signup"})
982
+ {:ok, [g1, g2]}
983
+
984
+ {:ok, _} =
985
+ Plausible.Funnels.create(
986
+ site,
987
+ "funnel1",
988
+ [%{"goal_id" => g1.id}, %{"goal_id" => g2.id}]
989
+ )
990
991
992
993
994
+ "funnel2",
995
+ [%{"goal_id" => g2.id}, %{"goal_id" => g1.id}]
996
997
998
delete(conn, "/#{site.domain}")
999
1000
refute Repo.exists?(from(s in Plausible.Site, where: s.id == ^site.id))
0 commit comments