Hi Jérémie,

> I'm trying CakePHP 1.2 Test Suite today, 
> withhttp://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1...
> andhttp://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/
>
> But when i run my first test, i get an exception for every Enum type
> in my DB :
>
> Exception: E:\project\core\tests\cases\models\user.test.php ->
> UserTestCase -> start -> Unexpected PHP error [Column type
> enum('M','Mme','Mlle') does not exist] severity [E_USER_WARNING] in [E:
> \project\cake\libs\model\datasources\dbo\dbo_mysql.php line 508]
>
> Did i do something wrong ?
> Don't CakePHP Testsuite allow to use some enum types ?
> And how could I test my project anyway ?

Well, enums are not supported in CakePHP.

And you have to be careful as the two links you posted use different
test suites. The first one uses the built-in test suite, whereas the
other uses the test suite I wrote..

HTH

daniel

--
Daniel Hofstetter
http://cakebaker.42dh.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to