Skip to content

Commit

Permalink
sure.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Feb 11, 2024
1 parent 4e0b736 commit 1636ab5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/

use DCarbone\PHPConsulAPI\Agent\AgentServiceConnectProxyConfig;
use DCarbone\PHPConsulAPI\FakeMap;
use DCarbone\PHPConsulAPITests\Usage\AbstractUsageTests;

class AgentServiceConnectProxyConfigTest extends AbstractUsageTests
Expand All @@ -36,12 +37,12 @@ public function test_construct_givenConfig_willUnmarshalConfigValuesSuccessfully
],
]);

$this->assertEquals([
$this->assertEquals(new FakeMap([
'envoy_prometheus_bind_addr' => '0.0.0.0:12345',
'handshake_timeout_ms' => 10000,
'local_connect_timeout_ms' => 1000,
'local_request_timeout_ms' => 0,
'protocol' => 'http',
], $config->Config);
]), $config->Config);
}
}

0 comments on commit 1636ab5

Please sign in to comment.