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 c0f6c05 commit cf91aa2
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 @@ -38,7 +38,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 cf91aa2

Please sign in to comment.