This repository was archived by the owner on Dec 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55use HelloFresh \Stats \HTTPMetricAlterCallback ;
66use HelloFresh \Stats \Incrementer ;
77use HelloFresh \Stats \State ;
8+ use HelloFresh \Stats \StatsD \SilentClient as StatsDClient ;
89use HelloFresh \Stats \Timer ;
9- use League \StatsD \Client as StatsDClient ;
1010use League \StatsD \Exception \ConfigurationException ;
1111
1212class StatsD extends AbstractClient implements Client
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function testDefaultClientInstance()
5353 $ statsD = new ExposedClientStatsD ($ dns );
5454 $ instantiatedClient = $ statsD ->getClient ();
5555
56- $ this ->assertInstanceOf (Client ::class, $ instantiatedClient );
56+ $ this ->assertInstanceOf (Stats \ StatsD \SilentClient ::class, $ instantiatedClient );
5757 }
5858
5959 /**
@@ -62,10 +62,10 @@ public function testDefaultClientInstance()
6262 public function testOptionalClientInstance ()
6363 {
6464 $ dns = 'statsd://stats.local:1234/prefix.ns?timeout=2.5&error=0 ' ;
65- $ statsD = new ExposedClientStatsD ($ dns , Stats \ StatsD \SilentClient ::class);
65+ $ statsD = new ExposedClientStatsD ($ dns , Client ::class);
6666 $ instantiatedClient = $ statsD ->getClient ();
6767
68- $ this ->assertInstanceOf (Stats \ StatsD \SilentClient ::class, $ instantiatedClient );
68+ $ this ->assertInstanceOf (Client ::class, $ instantiatedClient );
6969 }
7070
7171 public function testInstances ()
You can’t perform that action at this time.
0 commit comments