We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065ce0a commit 94c0ff2Copy full SHA for 94c0ff2
src/cogs/utility/test_currency_converter.py
@@ -40,7 +40,6 @@ async def test_currency_converter(self, mock_get):
40
expected_url = "https://api.apilayer.com/currency_data/convert?from=USD&to=EUR&amount=100"
41
42
await cog.config.get_config("currency_converter")
43
- await cog.config.set_config("currency_converter", {"api_key": "test_key"})
44
await cog.exchange.callback(cog, ctx=mock_ctx, amount="100", from_currency="USD", to_currency="EUR")
45
46
mock_get.assert_called_once_with(expected_url, headers={"apiKey": "test_key"})
0 commit comments