Skip to content
Permalink
Browse files

Test of ticket #323.

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
Juan Basso authored and markstory committed Feb 19, 2010
1 parent 06fc87f commit 416abed211cb4af4d0729b1400977e719c079a66
Showing with 4 additions and 0 deletions.
  1. +4 −0 cake/tests/cases/libs/model/datasources/dbo_source.test.php
@@ -4033,6 +4033,10 @@ function testName() {
$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);
}
/**

0 comments on commit 416abed

Please sign in to comment.
You can’t perform that action at this time.