Fixing test case

This commit is contained in:
José Lorenzo Rodríguez 2010-10-17 15:53:44 -04:30
parent f215cd01f1
commit ee4add9c32

View file

@ -842,7 +842,7 @@ class DboMysqlTest extends CakeTestCase {
$this->db->virtualFieldSeparator = '_$_';
$result = $this->db->fields($model, null, array('data', 'other__field'));
$expected = array('`BinaryTest`.`data`', '(SUM(id)) AS BinaryTest_$_other__field');
$expected = array('`BinaryTest`.`data`', '(SUM(id)) AS `BinaryTest_$_other__field`');
$this->assertEqual($result, $expected);
}