Hi

I started to write tests, but fails at the begining.
I created model, fixture and sample test case: 
http://bin.cakephp.org/view/1606012040

But when I trigger such test I get only such error:
"Fatal error: Call to a member function trigger() on a non-object in D:
\workspace\cv_cake\cake\libs\model\model.php on line 1780"

After digging inside Cake Core I found source of this error:


[42] => Array
        (
            [file] => D:\workspace\cv_cake\cake\libs\model\model.php
            [line] => 702
            [function] => cakeError
            [class] => Object
            [object] => CoreAccount Object
[...]
            [args] => Array
                (
                    [0] => missingTable
                    [1] => Array
                        (
                            [0] => Array
                                (
                                    [className] => CoreAccount
                                    [table] => test_suite_accounts
                                )

                        )

                )

        )


But fixture is exptected to create such table...
Any ideas?

Reagrds

MichaƂ Bachowski

--~--~---------~--~----~------------~-------~--~----~
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