Skip to content
Permalink
Browse files

Removing assignments by reference in DebuggerTest

  • Loading branch information...
lorenzo committed Jun 9, 2010
1 parent e71c827 commit c8399a8428f7c420a8d010c7d23d103d4b14e7e3
Showing with 4 additions and 4 deletions.
  1. +4 −4 cake/tests/cases/libs/debugger.test.php
@@ -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.
You can’t perform that action at this time.