From 7ef8cbef8f63d4230048b08b1181439f5bb9008a Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 20 Apr 2020 20:15:26 +0200 Subject: [PATCH 5/5] tests: remove dead test (#41814) The deleted test used a dimension "retard_stat" which was not defined on the target cube, but worked nonetheless since the list of JSON dimensions was wrongly computed from a table named "formdata" and not the fact table of the used cube, which is now fixed. --- tests/fixtures/schema2/01_fixture.json | 25 +---------- tests/fixtures/schema2/tables.json | 60 +------------------------- 2 files changed, 2 insertions(+), 83 deletions(-) diff --git tests/fixtures/schema2/01_fixture.json tests/fixtures/schema2/01_fixture.json index fc6792d..4129ce9 100644 --- tests/fixtures/schema2/01_fixture.json +++ tests/fixtures/schema2/01_fixture.json @@ -336,29 +336,6 @@ "model": "visualization.visualization", "pk": 19 }, - { - "fields": { - "name": "zz_old_Renseignement D\u00e9chets - Demandes par type de retard - Ann\u00e9e en cours", - "parameters": { - "cube": "formdata_demander_des_renseignements_sur_les_dechets", - "drilldown_x": "retard_stat", - "drilldown_y": "receipt_time__month", - "filters": { - "receipt_time": { - "end": "l'ann\u00e9e prochaine", - "start": "cette ann\u00e9e" - } - }, - "loop": "", - "measure": "count", - "representation": "table", - "warehouse": "services_demarches_lametro_fr" - }, - "slug": "zz_old_renseignement-dechets-demandes-par-type-de-retard" - }, - "model": "visualization.visualization", - "pk": 20 - }, { "fields": { "name": "zz_old_Tous formulaires - Demandes par heure - Ann\u00e9e en cours", @@ -10803,4 +10780,4 @@ "model": "visualization.visualization", "pk": 538 } -] \ No newline at end of file +] diff --git tests/fixtures/schema2/tables.json tests/fixtures/schema2/tables.json index a5d5d77..1d3d161 100644 --- tests/fixtures/schema2/tables.json +++ tests/fixtures/schema2/tables.json @@ -135909,64 +135909,6 @@ "13999" ] ], - "zz_old_Renseignement D\u00e9chets - Demandes par type de retard - Ann\u00e9e en cours": [ - [ - "", - "Aucun(e)" - ], - [ - "janvier", - "770" - ], - [ - "f\u00e9vrier", - "596" - ], - [ - "mars", - "1039" - ], - [ - "avril", - "1151" - ], - [ - "mai", - "1399" - ], - [ - "juin", - "997" - ], - [ - "juillet", - "1047" - ], - [ - "ao\u00fbt", - "1085" - ], - [ - "septembre", - "1498" - ], - [ - "octobre", - "2934" - ], - [ - "novembre", - "1337" - ], - [ - "d\u00e9cembre", - "208" - ], - [ - "Total", - "14061" - ] - ], "zz_old_Renseignement D\u00e9chets - Demandes par type et par commune": [ [ "", @@ -167015,4 +166957,4 @@ "66" ] ] -} \ No newline at end of file +} -- 2.26.0