MULTI_DOWNLOADER_ACCESS_KEY MULTI_DOWNLOADER_SECRET_KEY
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user