Skip to content

Commit

Permalink
reset env in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Nov 12, 2024
1 parent af6fac3 commit a610a23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/SparkPostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ public function testSendAllTo(): void
$result = $transport->getApiResult();

$this->assertEquals("[email protected]", $result["email"]);

// reset env
Environment::setEnv("SS_SEND_ALL_EMAILS_TO", $sendAllTo);
}

public function testSending(): void
Expand Down

0 comments on commit a610a23

Please sign in to comment.