Skip to content

Commit

Permalink
GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Mar 10, 2024
1 parent e03e3a9 commit d4eb32e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Factory/ClickhouseClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function testInitializationWithMainConfig(): void
$clickhouse = new ClickhouseClientFactory(
[
'host' => 'example.com',
'port' => 9000,
'port' => '9000',
'username' => 'test_user',
'password' => 'secret',
'options' => [
Expand All @@ -43,16 +43,16 @@ public function testInitializationWithMainConfig(): void
self::assertSame('test_user', $client->getConnectUsername());
self::assertSame('secret', $client->getConnectPassword());
self::assertSame('test_database', $client->settings()->getDatabase());
self::assertSame(150.0, $client->getTimeout());
self::assertSame(151, $client->getConnectTimeOut());
self::assertSame(150, $client->getTimeout());
self::assertSame(151.0, $client->getConnectTimeOut());
}

public function testInitializationWithNonExistsOption(): void
{
$clickhouseFactory = new ClickhouseClientFactory(
[
'host' => 'example.com',
'port' => 9000,
'port' => '9000',
'username' => 'test_user',
'password' => 'secret',
'options' => [
Expand Down

0 comments on commit d4eb32e

Please sign in to comment.