Skip to content

Commit

Permalink
Replacing reference assignation for normal assignation in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 16, 2010
1 parent 84283ed commit 17f2471
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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'),
Expand All @@ -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');
Expand Down

0 comments on commit 17f2471

Please sign in to comment.