Skip to content

Commit

Permalink
delay configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Dec 23, 2024
1 parent 5325942 commit 4318acc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Functional/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

class ConfigurationTest extends FunctionalTestCase
{
public function testClientDelayConfiguration()
{
$client = $this->getClient();

$delay = rand(1, 100);
$client->setDelay($delay);
$this->assertSame($delay, $client->configuration->getDelay());
}

public function testClientConfigurationOverride()
{
$this->assertSame($this->getConfiguration()->host, getenv('NATS_HOST'));
Expand Down

0 comments on commit 4318acc

Please sign in to comment.