Skip to content

Commit

Permalink
Merge pull request #5 from Stanin84/master
Browse files Browse the repository at this point in the history
Format description string.
  • Loading branch information
CDJojn committed May 26, 2022
2 parents 6bbd382 + 580d9ac commit 9f16fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ agentPHPUnit listener's variables description.
- 4 - Time Zone.
- 5 - Test Launch name.
- 6 - Test launch description.
- 7 - Array of environment variables names
- 7 - Array of environment variables names (optional)

Use as an example: https://github.com/Mikalai-Kabzar/phpUnit-test-framework/blob/master/phpunit.xml

Expand Down
2 changes: 1 addition & 1 deletion src/agentPHPUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class agentPHPUnit implements Framework\TestListener
* @param $launchDescription
* @param $envVariables
*/
public function __construct($UUID, $host, $projectName, $timeZone, $launchName, $launchDescription, $envVariables)
public function __construct($UUID, $host, $projectName, $timeZone, $launchName, $launchDescription, $envVariables = [])
{
$this->UUID = $UUID;
$this->host = $host;
Expand Down

0 comments on commit 9f16fb1

Please sign in to comment.