MULTI_DOWNLOADER_ACCESS_KEY MULTI_DOWNLOADER_SECRET_KEY
continuous-integration/drone/push Build encountered an error

This commit is contained in:
nicolas committed 2024-01-12 09:07:45 +00:00
1 parent bad3bf597a
commit 43fd2c26cb
4 files changed
+64 -17

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ class MultiDownloaderClientTest extends TestCase
public function testApiKeyEnv()
{
putenv('MULTI_DOWNLOADER_API_KEY=1234567890');
putenv('MULTI_DOWNLOADER_ACCESS_KEY=1234567890');
$client = new MultiDownloaderClient();
$apiKey = self::getProperty($client, 'apiKey');
@@ -89,7 +89,7 @@ class MultiDownloaderClientTest extends TestCase
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('API key is required');
putenv('MULTI_DOWNLOADER_API_KEY');
putenv('MULTI_DOWNLOADER_ACCESS_KEY');
new MultiDownloaderClient();
}