fix quote helper test
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
2a4d9f71af
commit
48df99f2e0
|
@ -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`'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue