From 5f73b07377b60b8fbfc3bb44e6d84d2d441eeff0 Mon Sep 17 00:00:00 2001 From: Pirmin Mattmann Date: Sun, 21 Jul 2024 18:00:34 +0200 Subject: [PATCH] fix performance-unittests --- .../performance_test/checklistItems.yml | 2 +- ...manceDidNotChangeForStableEndpoints__1.yml | 20 +++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/api/fixtures/performance_test/checklistItems.yml b/api/fixtures/performance_test/checklistItems.yml index ea01fe011d2..623cc120995 100644 --- a/api/fixtures/performance_test/checklistItems.yml +++ b/api/fixtures/performance_test/checklistItems.yml @@ -6,5 +6,5 @@ App\Entity\ChecklistItem: checklist: '@additional_checklist2_' text: 'Item_' additional_checklistItem_camp1_{1..12}: - camp: '@additional_checklist_camp1_1' + checklist: '@additional_checklist_camp1_1' text: 'Item_' diff --git a/api/tests/Api/SnapshotTests/__snapshots__/performance_test_EndpointPerformanceTest__testPerformanceDidNotChangeForStableEndpoints__1.yml b/api/tests/Api/SnapshotTests/__snapshots__/performance_test_EndpointPerformanceTest__testPerformanceDidNotChangeForStableEndpoints__1.yml index b8edfa35ed6..fdc9790ac3e 100644 --- a/api/tests/Api/SnapshotTests/__snapshots__/performance_test_EndpointPerformanceTest__testPerformanceDidNotChangeForStableEndpoints__1.yml +++ b/api/tests/Api/SnapshotTests/__snapshots__/performance_test_EndpointPerformanceTest__testPerformanceDidNotChangeForStableEndpoints__1.yml @@ -1,15 +1,19 @@ /activities: 221 -/activities/item: 233 +/activities/item: 236 /activity_progress_labels: 6 /activity_progress_labels/item: 7 /activity_responsibles: 6 /activity_responsibles/item: 8 -/camps: 36 -/camps/item: 31 -/camp_collaborations: 22 -/camp_collaborations/item: 24 +/camps: 39 +/camps/item: 32 +/camp_collaborations: 25 +/camp_collaborations/item: 25 /categories: 11 /categories/item: 9 +/checklists: 6 +/checklists/item: 7 +/checklist_items: 6 +/checklist_items/item: 8 /content_types: 6 /content_types/item: 6 /days: 26 @@ -21,7 +25,7 @@ /material_lists: 6 /material_lists/item: 7 /periods: 6 -/periods/item: 27 +/periods/item: 28 /profiles: 6 /profiles/item: 6 /schedule_entries: 23 @@ -30,8 +34,8 @@ '/activities?camp=': 213 '/activity_progress_labels?camp=': 6 '/activity_responsibles?activity.camp=': 6 -'/camp_collaborations?camp=': 12 -'/camp_collaborations?activityResponsibles.activity=': 24 +'/camp_collaborations?camp=': 13 +'/camp_collaborations?activityResponsibles.activity=': 25 '/categories?camp=': 9 '/content_types?categories=': 6 '/day_responsibles?day.period=': 6