We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c437e4 commit 707ce40Copy full SHA for 707ce40
1 file changed
tests/Usage/Agent/AgentServiceConnectProxyConfigTest.php
@@ -26,17 +26,17 @@ class AgentServiceConnectProxyConfigTest extends AbstractUsageTests
26
{
27
public function test_construct_givenConfig_willUnmarshalConfigValuesSuccessfully()
28
29
- $config = new AgentServiceConnectProxyConfig([
30
- 'Config' => [
+ $config = new AgentServiceConnectProxyConfig(
+ Config: (object)[
31
'envoy_prometheus_bind_addr' => '0.0.0.0:12345',
32
'handshake_timeout_ms' => 10000,
33
'local_connect_timeout_ms' => 1000,
34
'local_request_timeout_ms' => 0,
35
'protocol' => 'http',
36
],
37
- ]);
+ );
38
39
- $this->assertEquals([
+ $this->assertEquals((object)[
40
41
42
0 commit comments