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