Skip to content

Commit

Permalink
bugfix: load azure client in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhilton committed Sep 17, 2024
1 parent a07649b commit 0b64193
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion classes/tests/test_azure_integration_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ class test_azure_integration_client extends client {
* @return void
*/
public function __construct($config) {
parent::__construct($config);
// Set config directly. Calling __construct will do nothing
// since unit tests do not have the azure sdk installed.
$this->config = $config;

$time = microtime();
$this->runidentifier = md5($time);
}
Expand Down

0 comments on commit 0b64193

Please sign in to comment.