Remove legacy MBQL syntax in tests (#26309)
* [:field-id id] => [:field id nil] or $name. Except places where tests are meant to check normalization * [:datetime-field [:field id] unit] -> [:field id {:temporal-unit unit}] or !unit.name * [:fk-> [:field 1] [:field 2]] => [:field 2 {:source-field 1}]
Showing
- enterprise/backend/test/metabase_enterprise/sandbox/api/field_test.clj 5 additions, 5 deletions...ckend/test/metabase_enterprise/sandbox/api/field_test.clj
- enterprise/backend/test/metabase_enterprise/sandbox/api/table_test.clj 2 additions, 2 deletions...ckend/test/metabase_enterprise/sandbox/api/table_test.clj
- modules/drivers/mongo/test/metabase/driver/mongo/query_processor_test.clj 1 addition, 1 deletion...mongo/test/metabase/driver/mongo/query_processor_test.clj
- test/metabase/api/automagic_dashboards_test.clj 5 additions, 5 deletionstest/metabase/api/automagic_dashboards_test.clj
- test/metabase/api/card_test.clj 4 additions, 4 deletionstest/metabase/api/card_test.clj
- test/metabase/api/preview_embed_test.clj 2 additions, 2 deletionstest/metabase/api/preview_embed_test.clj
- test/metabase/api/public_test.clj 1 addition, 1 deletiontest/metabase/api/public_test.clj
- test/metabase/api/segment_test.clj 7 additions, 7 deletionstest/metabase/api/segment_test.clj
- test/metabase/automagic_dashboards/core_test.clj 1 addition, 1 deletiontest/metabase/automagic_dashboards/core_test.clj
- test/metabase/driver/postgres_test.clj 1 addition, 1 deletiontest/metabase/driver/postgres_test.clj
- test/metabase/models/card_test.clj 2 additions, 2 deletionstest/metabase/models/card_test.clj
- test/metabase/models/on_demand_test.clj 1 addition, 1 deletiontest/metabase/models/on_demand_test.clj
- test/metabase/models/query/permissions_test.clj 2 additions, 2 deletionstest/metabase/models/query/permissions_test.clj
- test/metabase/pulse/render/body_test.clj 1 addition, 1 deletiontest/metabase/pulse/render/body_test.clj
- test/metabase/pulse_test.clj 9 additions, 9 deletionstest/metabase/pulse_test.clj
- test/metabase/query_processor/middleware/cache_test.clj 1 addition, 1 deletiontest/metabase/query_processor/middleware/cache_test.clj
- test/metabase/query_processor/pivot_test.clj 1 addition, 1 deletiontest/metabase/query_processor/pivot_test.clj
- test/metabase/query_processor/reducible_test.clj 1 addition, 1 deletiontest/metabase/query_processor/reducible_test.clj
- test/metabase/query_processor_test/aggregation_test.clj 1 addition, 1 deletiontest/metabase/query_processor_test/aggregation_test.clj
- test/metabase/query_processor_test/alternative_date_test.clj 3 additions, 3 deletionstest/metabase/query_processor_test/alternative_date_test.clj
Loading
Please register or sign in to comment