MULTI_DOWNLOADER_ACCESS_KEY MULTI_DOWNLOADER_SECRET_KEY
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/push Build encountered an error
This commit is contained in:
1 parent
bad3bf597a
commit
43fd2c26cb
4 files changed
+64
-17
No files matched your search
@@ -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