mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 08:12:17 +01:00
fix shared report endpoint test to check new structure that includes organization format properties, format
This commit is contained in:
@@ -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()
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user