Skip to content

Commit

Permalink
Update query snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 22, 2023
1 parent e29361f commit 8684850
Showing 1 changed file with 27 additions and 20 deletions.
47 changes: 27 additions & 20 deletions posthog/api/test/dashboards/__snapshots__/test_dashboard.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -11265,17 +11265,6 @@
'
---
# name: TestDashboard.test_retrieve_dashboard_list.28
'
SELECT "posthog_instancesetting"."id",
"posthog_instancesetting"."key",
"posthog_instancesetting"."raw_value"
FROM "posthog_instancesetting"
WHERE "posthog_instancesetting"."key" = 'constance:posthog:RATE_LIMIT_ENABLED'
ORDER BY "posthog_instancesetting"."id" ASC
LIMIT 1 /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.29
'
SELECT "posthog_organization"."id",
"posthog_organization"."name",
Expand All @@ -11299,6 +11288,14 @@
LIMIT 21 /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.29
'
SELECT COUNT(*) AS "__count"
FROM "posthog_dashboard"
WHERE (NOT ("posthog_dashboard"."deleted")
AND "posthog_dashboard"."team_id" = 2) /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.3
'
SELECT "posthog_instancesetting"."id",
Expand All @@ -11311,14 +11308,6 @@
'
---
# name: TestDashboard.test_retrieve_dashboard_list.30
'
SELECT COUNT(*) AS "__count"
FROM "posthog_dashboard"
WHERE (NOT ("posthog_dashboard"."deleted")
AND "posthog_dashboard"."team_id" = 2) /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.31
'
SELECT "posthog_dashboard"."id",
"posthog_dashboard"."name",
Expand Down Expand Up @@ -11437,7 +11426,7 @@
LIMIT 100 /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.32
# name: TestDashboard.test_retrieve_dashboard_list.31
'
SELECT "posthog_taggeditem"."id",
"posthog_taggeditem"."tag_id",
Expand All @@ -11459,6 +11448,24 @@
5 /* ... */) /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.32
'
SELECT "posthog_sharingconfiguration"."id",
"posthog_sharingconfiguration"."team_id",
"posthog_sharingconfiguration"."dashboard_id",
"posthog_sharingconfiguration"."insight_id",
"posthog_sharingconfiguration"."recording_id",
"posthog_sharingconfiguration"."created_at",
"posthog_sharingconfiguration"."enabled",
"posthog_sharingconfiguration"."access_token"
FROM "posthog_sharingconfiguration"
WHERE "posthog_sharingconfiguration"."dashboard_id" IN (1,
2,
3,
4,
5 /* ... */) /*controller='project_dashboards-list',route='api/projects/%28%3FP%3Cparent_lookup_team_id%3E%5B%5E/.%5D%2B%29/dashboards/%3F%24'*/
'
---
# name: TestDashboard.test_retrieve_dashboard_list.33
'
SELECT "posthog_sharingconfiguration"."id",
Expand Down

0 comments on commit 8684850

Please sign in to comment.