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.
PsrClickHouseClient::executeQueryWithParams()
1 parent 54326fc commit 37523ebCopy full SHA for 37523eb
tests/Client/PsrClickHouseClientTest.php
@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+namespace SimPod\ClickHouseClient\Tests\Client;
6
7
+use PHPUnit\Framework\Attributes\CoversClass;
8
+use SimPod\ClickHouseClient\Client\PsrClickHouseClient;
9
+use SimPod\ClickHouseClient\Tests\TestCaseBase;
10
+use SimPod\ClickHouseClient\Tests\WithClient;
11
12
+#[CoversClass(PsrClickHouseClient::class)]
13
+final class PsrClickHouseClientTest extends TestCaseBase
14
+{
15
+ use WithClient;
16
17
+ public function testExecuteQueryWithParams(): void
18
+ {
19
+ self::$client->executeQueryWithParams(
20
+ 'SHOW DATABASES ILIKE :database',
21
+ ['database' => self::$currentDbName],
22
+ );
23
24
+ $this->addToAssertionCount(1);
25
+ }
26
+}
0 commit comments