Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary committed Nov 19, 2023
1 parent 268a290 commit b64c62d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Unit/Provisioning/ProvisioningUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public function tearDown()
{
parent::tearDown();

putenv(ProvisioningConfiguration::CLOUDINARY_ACCOUNT_URL_ENV_VAR . '=' . $this->accountUrlEnvBackup);
putenv(
ProvisioningConfiguration::CLOUDINARY_ACCOUNT_URL_ENV_VAR .
(! empty($this->accountUrlEnvBackup) ? '=' . $this->accountUrlEnvBackup : "")
);
}
}

0 comments on commit b64c62d

Please sign in to comment.