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 cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to