mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
parent
06fc87fc2d
commit
416abed211
1 changed files with 4 additions and 0 deletions
|
@ -4033,6 +4033,10 @@ class DboSourceTest extends CakeTestCase {
|
|||
$result = $this->testDb->name('Function(Something.foo) AS x');
|
||||
$expected = 'Function(`Something`.`foo`) AS `x`';
|
||||
$this->assertEqual($result, $expected);
|
||||
|
||||
$result = $this->testDb->name('name-with-minus');
|
||||
$expected = '`name-with-minus`';
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue