Run the script directly to have the proper error message: php test/unit/model/JobeetJobTest.php
Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Adrian Gould wrote: > > good morning all - > > have searched for a solution to the > "model/JobeetJobTest..................................................dubious" > > Unit Test problem when using PROPEL. > > Any ideas? > > Have tried the solution mentioned on the GoogleGroup for Doctrine with > no success. > > Terminal results > --------------------------------------------------------------------------- > Koala:sf_sandbox adrian$ ./symfony test:unit > JobeetTest...........................................................ok > model/JobeetJobTest..................................................dubious > Test returned status 255 > Failed Test Stat Total Fail List of Failed > ------------------------------------------------------------------ > model/JobeetJobTest 255 0 0 > Failed 1/2 test scripts, 50.00% okay. 0/9 subtests failed, 100.00% okay. > > > schema.yml > --------------------------------------------------------------------------- > propel: > jobeet_category: > id: ~ > name: { type: varchar(255), required: true } > slug: { type: varchar(255), required: true, index: unique } > > jobeet_job: > id: ~ > category_id: { type: integer, foreignTable: jobeet_category, > foreignReference: id, required: true } > type: { type: varchar(255) } > company: { type: varchar(255), required: true } > logo: { type: varchar(255) } > url: { type: varchar(255) } > position: { type: varchar(255), required: true } > location: { type: varchar(255), required: true } > description: { type: longvarchar, required: true } > how_to_apply: { type: longvarchar, required: true } > token: { type: varchar(255), required: true, index: unique } > is_public: { type: boolean, required: true, default: 1 } > is_activated: { type: boolean, required: true, default: 0 } > email: { type: varchar(255), required: true } > expires_at: { type: date, required: true; notnull: true } > created_at: ~ > updated_at: ~ > > jobeet_affiliate: > id: ~ > url: { type: varchar(255), required: true } > email: { type: varchar(255), required: true, index: unique } > token: { type: varchar(255), required: true } > is_active: { type: boolean, required: true, default: 0 } > created_at: ~ > > jobeet_category_affiliate: > category_id: { type: integer, foreignTable: jobeet_category, > foreignReference: id, required: true, primaryKey: true, onDelete: cascade } > affiliate_id: { type: integer, foreignTable: jobeet_affiliate, > foreignReference: id, required: true, primaryKey: true, onDelete: cascade } > > > databases.yml > --------------------------------------------------------------------------- > dev: > propel: > param: > classname: DebugPDO > > test: > propel: > class: sfPropelDatabase > param: > classname: DebugPDO > dsn: mysql:host=localhost;dbname=jobeet_test > username: jobeet_test > password: test > encoding: utf8 > persistent: false > pooling: false > > all: > propel: > class: sfPropelDatabase > param: > classname: PropelPDO > dsn: mysql:host=localhost;dbname=jobeet > username: jobeet > password: mYsEcret > encoding: utf8 > persistent: true > pooling: true > > > > > Adrian Gould > kiltot...@gmail.com <mailto:kiltot...@gmail.com> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---