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
Move GA fixtures to fixtures/ folder (#2398)
Vinicius Brasil90c78e8995a9
diff --git a/ga_report_imported_browsers.json b/fixture/ga_report_imported_browsers.jsonsimilarity index 100%rename from ga_report_imported_browsers.jsonrename to fixture/ga_report_imported_browsers.jsondiff --git a/ga_report_imported_devices.json b/fixture/ga_report_imported_devices.jsonsimilarity index 100%rename from ga_report_imported_devices.jsonrename to fixture/ga_report_imported_devices.jsondiff --git a/ga_report_imported_entry_pages.json b/fixture/ga_report_imported_entry_pages.jsonsimilarity index 100%rename from ga_report_imported_entry_pages.jsonrename to fixture/ga_report_imported_entry_pages.jsondiff --git a/ga_report_imported_exit_pages.json b/fixture/ga_report_imported_exit_pages.jsonsimilarity index 100%rename from ga_report_imported_exit_pages.jsonrename to fixture/ga_report_imported_exit_pages.jsondiff --git a/ga_report_imported_locations.json b/fixture/ga_report_imported_locations.jsonsimilarity index 100%rename from ga_report_imported_locations.jsonrename to fixture/ga_report_imported_locations.jsondiff --git a/ga_report_imported_operating_systems.json b/fixture/ga_report_imported_operating_systems.jsonsimilarity index 100%rename from ga_report_imported_operating_systems.jsonrename to fixture/ga_report_imported_operating_systems.jsondiff --git a/ga_report_imported_pages.json b/fixture/ga_report_imported_pages.jsonsimilarity index 100%rename from ga_report_imported_pages.jsonrename to fixture/ga_report_imported_pages.jsondiff --git a/ga_report_imported_sources.json b/fixture/ga_report_imported_sources.jsonsimilarity index 100%rename from ga_report_imported_sources.jsonrename to fixture/ga_report_imported_sources.jsondiff --git a/ga_report_imported_visitors.json b/fixture/ga_report_imported_visitors.jsonsimilarity index 100%rename from ga_report_imported_visitors.jsonrename to fixture/ga_report_imported_visitors.jsondiff --git a/test/plausible/google/api_test.exs b/test/plausible/google/api_test.exsindex 212d8f8314..67ed6ecaca 100644--- a/test/plausible/google/api_test.exs+++ b/test/plausible/google/api_test.exs@@ -12,15 +12,15 @@ defmodule Plausible.Google.ApiTest do@refresh_token_body Jason.decode!(File.read!("fixture/ga_refresh_token.json"))@full_report_mock [- "ga_report_imported_visitors.json",- "ga_report_imported_sources.json",- "ga_report_imported_pages.json",- "ga_report_imported_entry_pages.json",- "ga_report_imported_exit_pages.json",- "ga_report_imported_locations.json",- "ga_report_imported_devices.json",- "ga_report_imported_browsers.json",- "ga_report_imported_operating_systems.json"+ "fixture/ga_report_imported_visitors.json",+ "fixture/ga_report_imported_sources.json",+ "fixture/ga_report_imported_pages.json",+ "fixture/ga_report_imported_entry_pages.json",+ "fixture/ga_report_imported_exit_pages.json",+ "fixture/ga_report_imported_locations.json",+ "fixture/ga_report_imported_devices.json",+ "fixture/ga_report_imported_browsers.json",+ "fixture/ga_report_imported_operating_systems.json"]|> Enum.map(&File.read!/1)|> Enum.map(&Jason.decode!/1)