This asserting was testing PHPUnit internals unintentionally. Remove it.
authorChuck Hagenbuch <chuck@horde.org>
Tue, 29 Sep 2009 17:23:30 +0000 (13:23 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Tue, 29 Sep 2009 17:23:30 +0000 (13:23 -0400)
framework/Support/test/Horde/Support/BacktraceTest.php

index 251f558..8c026cf 100644 (file)
@@ -23,9 +23,6 @@ class Horde_Support_BacktraceTest extends PHPUnit_Framework_TestCase
 
         $caller = $trace->getCurrentContext();
         $this->assertEquals(__FUNCTION__, $caller['function']);
-
-        $caller = $trace->getCallingContext();
-        $this->assertEquals('invoke', $caller['function']);
     }
 
     public function testCreateFromGeneratedBacktrace()