It appears this has been previously reported: https://trac.cakephp.org/ticket/5111
Looking at this ticket, the diffs, and the files in question, it appears that the whole fixturize option (despite being documented in the book), is completely non functional. I'd like to contribute to this issue if I can - but I'd need some direction. Can anyone advise on how I can improve the chances of this being fixed, or give tips on how to do it myself? On Jul 17, 4:19 pm, neverlosty <[EMAIL PROTECTED]> wrote: > Hey guys, > > Just an update, I'm still having issues with doing controller tests > and using fixturize. > I've found out some more information. > > The startController function in cake_test_case.php file seems to have > bugs in it. > I have attached a diff here with what I think it should > be.http://bin.cakephp.org/saved/34969 > > Even then there's still unresolved issues. > > I'm wondering if anyone has had any success with the fixturize > functionality in testing cake controllers? > > thanks. > Tony. > > On Jul 11, 4:49 pm, neverlosty <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > > I can't seem to get fixtures working with Controller tests. > > I tried the examples from the cakephp docs but it seemed to not be > > working: > > > $result = $this->testAction('/controller/action', array('fixturize' => > > 'MyObject')); > > > Could anyone please show me an example of a controller test file which > > has worked? > > > thanks heaps, > > Tony. --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
