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

This commit is contained in:
2024-01-12 09:07:45 +00:00
parent bad3bf597a
commit 43fd2c26cb
4 changed files with 64 additions and 17 deletions

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();
}