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 2f89a4a commit 4a0fdbeCopy full SHA for 4a0fdbe
tests/unit/ClientFactoryTest.php
@@ -14,13 +14,13 @@ public function testConnectorCanBeCreated()
14
{
15
$client = ClientFactory::createClient(new Version4(), '8.8.8.8');
16
17
- $this->assertInstanceOf('oliverlorenz\reactphpmqtt\Connector', $client);
+ $this->assertInstanceOf(Connector::class, $client);
18
}
19
20
public function testSecureConnectorCanBeCreated()
21
22
$client = ClientFactory::createSecureClient(new Version4(), '8.8.8.8');
23
24
- $this->assertInstanceOf('oliverlorenz\reactphpmqtt\SecureConnector', $client);
25
26
0 commit comments