Skip to content
Permalink
Browse files

Replacing reference assignation for normal assignation in test case

  • Loading branch information...
lorenzo committed Oct 16, 2010
1 parent 84283ed commit 17f24719ee1208c726e71b6262f45e764dc44f39
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
@@ -852,7 +852,7 @@ function testVirtualFieldSeparators() {
* @return void
*/
function testDescribeGettingFieldParameters() {
$schema =& new CakeSchema(array(
$schema = new CakeSchema(array(
'connection' => 'test',
'testdescribes' => array(
'id' => array('type' => 'integer', 'key' => 'primary'),
@@ -872,7 +872,7 @@ function testDescribeGettingFieldParameters() {
));
$this->db->execute($this->db->createSchema($schema));

$model =& new CakeTestModel(array('table' => 'testdescribes', 'name' => 'Testdescribes'));
$model = new CakeTestModel(array('table' => 'testdescribes', 'name' => 'Testdescribes'));
$result = $this->db->describe($model);
$this->assertEqual($result['stringy']['collate'], 'cp1250_general_ci');
$this->assertEqual($result['stringy']['charset'], 'cp1250');

0 comments on commit 17f2471

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