fix quote helper test

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-03-30 11:07:16 +02:00
parent 2a4d9f71af
commit 48df99f2e0
No known key found for this signature in database
GPG Key ID: 50F2B59C6DEBBCFE
2 changed files with 2 additions and 2 deletions

View File

@ -1200,7 +1200,7 @@ class QueryBuilderTest extends \Test\TestCase {
public function dataGetColumnName() { public function dataGetColumnName() {
return [ return [
['column', '', '`column`'], ['column', '', '`column`'],
['column', 'a', 'a.`column`'], ['column', 'a', '`a`.`column`'],
]; ];
} }

View File

@ -65,7 +65,7 @@ class QuoteHelperTest extends \Test\TestCase {
public function dataQuoteColumnNames() { public function dataQuoteColumnNames() {
return [ return [
// Single case // Single case
['d.column', 'd.`column`'], ['d.column', '`d`.`column`'],
['column', '`column`'], ['column', '`column`'],
[new Literal('literal'), 'literal'], [new Literal('literal'), 'literal'],
[new Literal(1), '1'], [new Literal(1), '1'],