Skip to content

Commit 94c0ff2

Browse files
committed
fix: remove set_config, non-existent method
1 parent 065ce0a commit 94c0ff2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cogs/utility/test_currency_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ async def test_currency_converter(self, mock_get):
4040
expected_url = "https://api.apilayer.com/currency_data/convert?from=USD&to=EUR&amount=100"
4141

4242
await cog.config.get_config("currency_converter")
43-
await cog.config.set_config("currency_converter", {"api_key": "test_key"})
4443
await cog.exchange.callback(cog, ctx=mock_ctx, amount="100", from_currency="USD", to_currency="EUR")
4544

4645
mock_get.assert_called_once_with(expected_url, headers={"apiKey": "test_key"})

0 commit comments

Comments
 (0)