diff --git a/ee/api/test/__snapshots__/test_organization_resource_access.ambr b/ee/api/test/__snapshots__/test_organization_resource_access.ambr index 553058cdac5c9..893fa7bbb0c81 100644 --- a/ee/api/test/__snapshots__/test_organization_resource_access.ambr +++ b/ee/api/test/__snapshots__/test_organization_resource_access.ambr @@ -24,7 +24,7 @@ "posthog_user"."events_column_config" FROM "posthog_user" WHERE "posthog_user"."id" = 2 - LIMIT 21 /**/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.1 @@ -48,7 +48,7 @@ "posthog_organization"."available_features" FROM "posthog_organization" WHERE "posthog_organization"."id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.10 @@ -72,7 +72,7 @@ "posthog_organization"."available_features" FROM "posthog_organization" WHERE "posthog_organization"."id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.11 @@ -81,7 +81,7 @@ FROM "posthog_organizationmembership" WHERE ("posthog_organizationmembership"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid AND "posthog_organizationmembership"."user_id" = 2) - LIMIT 1 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 1 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.12 @@ -95,14 +95,14 @@ FROM "posthog_organizationmembership" WHERE ("posthog_organizationmembership"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid AND "posthog_organizationmembership"."user_id" = 2) - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.13 ' SELECT COUNT(*) AS "__count" FROM "ee_organizationresourceaccess" - WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.14 @@ -116,7 +116,7 @@ "ee_organizationresourceaccess"."updated_at" FROM "ee_organizationresourceaccess" WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 100 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 100 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.15 @@ -154,7 +154,7 @@ "posthog_organization"."available_features" FROM "posthog_organization" WHERE "posthog_organization"."id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.3 @@ -163,7 +163,7 @@ FROM "posthog_organizationmembership" WHERE ("posthog_organizationmembership"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid AND "posthog_organizationmembership"."user_id" = 2) - LIMIT 1 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 1 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.4 @@ -177,7 +177,7 @@ FROM "posthog_organizationmembership" WHERE ("posthog_organizationmembership"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid AND "posthog_organizationmembership"."user_id" = 2) - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.5 @@ -188,14 +188,14 @@ FROM "posthog_instancesetting" WHERE "posthog_instancesetting"."key" = 'constance:posthog:RATE_LIMIT_ENABLED' ORDER BY "posthog_instancesetting"."id" ASC - LIMIT 1 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 1 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.6 ' SELECT COUNT(*) AS "__count" FROM "ee_organizationresourceaccess" - WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.7 @@ -209,7 +209,7 @@ "ee_organizationresourceaccess"."updated_at" FROM "ee_organizationresourceaccess" WHERE "ee_organizationresourceaccess"."organization_id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 100 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 100 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.8 @@ -238,7 +238,7 @@ "posthog_user"."events_column_config" FROM "posthog_user" WHERE "posthog_user"."id" = 2 - LIMIT 21 /**/ + LIMIT 21 ' --- # name: TestOrganizationResourceAccessAPI.test_list_organization_resource_access_is_not_nplus1.9 @@ -262,6 +262,6 @@ "posthog_organization"."available_features" FROM "posthog_organization" WHERE "posthog_organization"."id" = '00000000-0000-0000-0000-000000000000'::uuid - LIMIT 21 /*controller='organization_resource_access-list',route='api/organizations/%28%3FP%3Cparent_lookup_organization_id%3E%5B%5E/.%5D%2B%29/resource_access/%3F%24'*/ + LIMIT 21 ' ---