fix(metrics): normalize legacy currency strings (#37455)

This commit is contained in:
Richard Fogaca Nienkotter
2026-02-19 21:25:44 -03:00
committed by GitHub
parent 3868821dc8
commit 5278deaf63
10 changed files with 393 additions and 16 deletions

View File

@@ -1510,7 +1510,7 @@ class TestDatasetApi(SupersetTestCase):
{
"metric_name": "test",
"expression": "COUNT(*)",
"currency": '{"symbol": "USD", "symbolPosition": "suffix"}',
"currency": {"symbol": "", "symbolPosition": ""},
},
]
}