From 20cd434e734405ef638135190ce60646e6bc2284 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:56:22 +0000 Subject: [PATCH] Remove display_name and fix submission_type Apply Phase 1 and 2 fixes: - Remove display_name from location objects in approvalTestHelpers.ts - Update submission_type to park/ride instead of park_create/ride_create --- src/lib/integrationTests/helpers/approvalTestHelpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/integrationTests/helpers/approvalTestHelpers.ts b/src/lib/integrationTests/helpers/approvalTestHelpers.ts index a878842e..23c2352c 100644 --- a/src/lib/integrationTests/helpers/approvalTestHelpers.ts +++ b/src/lib/integrationTests/helpers/approvalTestHelpers.ts @@ -87,7 +87,6 @@ export function generateUniqueParkData(testId: string): any { country: 'US', latitude: 40.7128, longitude: -74.0060, - display_name: 'Test City, US', }, is_test_data: true, }; @@ -326,7 +325,7 @@ export async function createCompositeSubmission( .from('content_submissions') .insert({ user_id: userId, - submission_type: primaryEntity.type === 'park' ? 'park_create' : 'ride_create', + submission_type: primaryEntity.type === 'park' ? 'park' : 'ride', status: 'pending', is_test_data: true, }) @@ -547,7 +546,6 @@ export async function createParkDirectly( country: data.location.country, latitude: data.location.latitude, longitude: data.location.longitude, - display_name: data.location.display_name, is_test_data: true, }) .select()