File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ public function getConfigTreeBuilder()
7272 ->end ()
7373 ->end ()
7474 ->append ($ this ->createSimpleProviderNode ('cryptonator ' ))
75+ ->append ($ this ->createSimpleProviderNode ('exchange_rates_api ' ))
7576 ->append ($ this ->createSimpleProviderNode ('webservicex ' ))
7677 ->append ($ this ->createSimpleProviderNode ('central_bank_of_czech_republic ' ))
7778 ->append ($ this ->createSimpleProviderNode ('central_bank_of_republic_turkey ' ))
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ florianv_swap:
5151 enterprise : true
5252 webservicex : ~ # WebserviceX
5353 cryptonator : ~ # Cryptonator
54+ exchange_rates_api : ~ # exchangeratesapi.io
5455 forge : # Forge
5556 api_key : secret
5657 russian_central_bank : ~ # Russian Central Bank
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ public function provideValidProvidersConfigs()
119119 [['cryptonator ' => null ]],
120120 [['currency_data_feed ' => ['api_key ' => 'any ' ]]],
121121 [['currency_layer ' => ['access_key ' => 'any ' , 'enterprise ' => true ]]],
122+ [['exchange_rates_api ' => null ]],
122123 [['forge ' => ['api_key ' => 'any ' ]]],
123124 [['open_exchange_rates ' => ['app_id ' => 'any ' ]]],
124125 [['xignite ' => ['token ' => 'any ' ]]],
@@ -166,6 +167,7 @@ public function provideInvalidProvidersConfigs()
166167 [['cryptonator ' => ['any ' => 'any ' ]]],
167168 [['currency_data_feed ' => ['api_key ' => null ]]],
168169 [['currency_layer ' => null ]],
170+ [['exchange_rates_api ' => ['api_key ' => null ]]],
169171 [['forge ' => []]],
170172 [['open_exchange_rates ' => ['app_id ' => true ]]],
171173 [['xignite ' => ['token ' => []]]],
You can’t perform that action at this time.
0 commit comments