Skip to content

Commit

Permalink
fix unknow key
Browse files Browse the repository at this point in the history
  • Loading branch information
macintoshplus committed Feb 22, 2021
1 parent cd7060d commit 24ba620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/LambdatestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function configure(ArrayNodeDefinition $builder)
public function buildDriver(array $config)
{
$envValues = getenv();
if (($config['user'] === null || $config['key'] === null) && (!isset($envValues['LT_USERNAME']) || !isset($envValues['LT_USERKEY']))) {
if ((!isset($config['user']) || !isset($config['key'])) && (!isset($envValues['LT_USERNAME']) || !isset($envValues['LT_USERKEY']))) {
throw new \Exception('Configure environment variable LT_USERNAME and LT_USERKEY with credential from Lambdatest');
}

Expand Down

0 comments on commit 24ba620

Please sign in to comment.