Franz
Franz
The test runs fine when I used the PEAR installed version of phpunit 3.7.2 The phpunit.phar version is 4.0.6 it errors on line 78 ``` php $this->getMockBuilder('OAuth2Provider\Server') ->setMethods(array('handleTokenRequest')) ->getMock(); ```...
It looks like i fixed the error by removing the constructor from the test case. although the test still works on the pear version with the constructor in it. ```...
@andygrunwald , I may have the same issue as you on #1177 Try removing the constructor and move the logic inside the function setUp() instead
ahh sorry i didnt realize this is related to #1907
sucks they tag this as wont fix. I am writing something that depends on debug_backtrace :\
@freddemmott i need a way to trace back where __call is called refering the non existing function that zend created on its back trace. my example is a simpler version...
@fredemmott I have to grab the file and line number where the function is called. I can use the __call trace data but I do not think its too reliable...
many many thanks @swtaarrs my unit tests are almost 100%!
thank you @apuckey . i was pulling my hair all day to figure this out