From 1636ab54f0f1b11b89bf8dd75ce3500942b7123c Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Sat, 10 Feb 2024 21:04:28 -0600 Subject: [PATCH] sure. --- tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php b/tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php index a2ca164..e0d5fea 100644 --- a/tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php +++ b/tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php @@ -20,6 +20,7 @@ */ use DCarbone\PHPConsulAPI\Agent\AgentServiceConnectProxyConfig; +use DCarbone\PHPConsulAPI\FakeMap; use DCarbone\PHPConsulAPITests\Usage\AbstractUsageTests; class AgentServiceConnectProxyConfigTest extends AbstractUsageTests @@ -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); } } \ No newline at end of file