Skip to content

Commit

Permalink
Fixed typo in error message for Command::query method (#64)
Browse files Browse the repository at this point in the history
* feat(command) fixed typo in error message for Command::query method
* feat(test) remove auto generated UnitTesterActions class

issue #63
  • Loading branch information
sanchezzzhak authored Jan 18, 2022
1 parent 2f354a1 commit 2cde143
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2,374 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
composer.lock
vendor/
tests/_output/*
tests/_config/clickhouse.php
tests/_config/clickhouse.php
tests/_support/_generated/*
6 changes: 5 additions & 1 deletion Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,12 @@ public function batchInsert($table, $columns, $rows)
return $this->setSql($sql);
}

/**
* @return void
* @throws DbException
*/
public function query()
{
throw new \yii\db\Exception('Clichouse unsupport cursor');
throw new \yii\db\Exception('Clickhouse unsupported cursor');
}
}
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
"yiisoft/yii2-httpclient": "^2.0.14"
},
"require-dev": {
"codeception/codeception": "^4.1.22",
"codeception/module-asserts": "^1.3",
"codeception/module-yii2": "^1.1"
"symfony/event-dispatcher-contracts": "2.2.0",
"codeception/codeception": "4.1.22",
"codeception/module-asserts": "1.3",
"codeception/module-yii2": "1.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 2cde143

Please sign in to comment.