Skip to content

Commit 4a0fdbe

Browse files
committed
Fix broken test
1 parent 2f89a4a commit 4a0fdbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/ClientFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ public function testConnectorCanBeCreated()
1414
{
1515
$client = ClientFactory::createClient(new Version4(), '8.8.8.8');
1616

17-
$this->assertInstanceOf('oliverlorenz\reactphpmqtt\Connector', $client);
17+
$this->assertInstanceOf(Connector::class, $client);
1818
}
1919

2020
public function testSecureConnectorCanBeCreated()
2121
{
2222
$client = ClientFactory::createSecureClient(new Version4(), '8.8.8.8');
2323

24-
$this->assertInstanceOf('oliverlorenz\reactphpmqtt\SecureConnector', $client);
24+
$this->assertInstanceOf(Connector::class, $client);
2525
}
2626
}

0 commit comments

Comments
 (0)