fix shared report endpoint test to check new structure that includes organization format properties, format

This commit is contained in:
Gregor Vostrak
2025-05-09 17:45:02 +02:00
parent 9c44abf7aa
commit 68f636c8ff
3 changed files with 13 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ class CurrencyController extends Controller
* Get all currencies
*
* @response array{code: string, name: string, symbol: string}[]
*
* @operationId getCurrencies
*/
public function index(): JsonResponse
@@ -26,7 +27,7 @@ class CurrencyController extends Controller
'code' => $currency->getCurrencyCode(),
'name' => $currency->getName(),
'symbol' => $currencyService->getCurrencySymbol($currency->getCurrencyCode()),
],
],
ISOCurrencyProvider::getInstance()->getAvailableCurrencies()
));