File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 66
77use PHPUnit \Framework \Attributes \CoversClass ;
88use SimPod \ClickHouseClient \Snippet \ShowDatabases ;
9- use SimPod \ClickHouseClient \Tests \ClickHouseVersion ;
109use SimPod \ClickHouseClient \Tests \TestCaseBase ;
1110use SimPod \ClickHouseClient \Tests \WithClient ;
1211
@@ -39,19 +38,13 @@ public function testRun(): void
3938 array_shift ($ databases );
4039 }
4140
42- $ expected = ClickHouseVersion::get () >= 2111
43- ? [
44- 'INFORMATION_SCHEMA ' ,
45- self ::$ currentDbName ,
46- 'default ' ,
47- 'information_schema ' ,
48- 'system ' ,
49- ]
50- : [
51- self ::$ currentDbName ,
52- 'default ' ,
53- 'system ' ,
54- ];
41+ $ expected = [
42+ 'INFORMATION_SCHEMA ' ,
43+ self ::$ currentDbName ,
44+ 'default ' ,
45+ 'information_schema ' ,
46+ 'system ' ,
47+ ];
5548
5649 self ::assertSame ($ expected , $ databases );
5750 }
You can’t perform that action at this time.
0 commit comments