Hi, I am stil pretty new to PHP and CakePHP. I have now written some tests for my project. If I run them isolated , everything is fine and green. If I run them in a suite, some tests are not working as expected e.g. they return me to the starting patch, as if I would call a unknown method.
I have found out, that the problem occurs in the controller-test when they contains the testAction method (not if I use the generate approach). The debugger goes crazy (and the test fails) if the _testAction method in the ControllerTestCase after the ControllerTestDispatcher was called in Line 244. But I guess, this coincidence. I unset every controller in the tearDown routine. I am using CakePHP 2.2.2 (same also happens in CakePHP 2.2.3) My current workaround for the problem is that I call the controller tests at the end of the testsuite, but I don't feel really comfortable with this solution. Has anybody had this problem before? Any idea where to look at? BR Florian 'not burzum' Krämer -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
