Skip to content

Commit

Permalink
Removing assignments by reference in DebuggerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jun 9, 2010
1 parent e71c827 commit c8399a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cake/tests/cases/libs/debugger.test.php
Expand Up @@ -314,16 +314,16 @@ function testDump() {
* @return void
*/
function testGetInstance() {
$result =& Debugger::getInstance();
$result = Debugger::getInstance();
$this->assertIsA($result, 'Debugger');

$result =& Debugger::getInstance('DebuggerTestCaseDebugger');
$result = Debugger::getInstance('DebuggerTestCaseDebugger');
$this->assertIsA($result, 'DebuggerTestCaseDebugger');

$result =& Debugger::getInstance();
$result = Debugger::getInstance();
$this->assertIsA($result, 'DebuggerTestCaseDebugger');

$result =& Debugger::getInstance('Debugger');
$result = Debugger::getInstance('Debugger');
$this->assertIsA($result, 'Debugger');
}
}

0 comments on commit c8399a8

Please sign in to comment.