Ticket Details

No schema is created for MySQL unit tests

BUG Ticket (closed)

Seems the unit tests will invariably fail, from lack of schema information. I believe it's missing a create table statement for the companies table.
on 08.23.10 reported by: ddebernardy owned by: Howard

Updates

on 08.23.10 by ddebernardy
  • type was changed to bug
on 08.23.10 by ddebernardy
  • priority was changed to normal
adding to this one, I sought to create some sort of table that works manually to see if the tests succeed:

{{{
create table companies (id int(11) not null auto_increment, name varchar(255), active int(1), created datetime, primary key (id) );
}}}

this results in a fatal error:

Fatal error: Class name must be a valid object or a string in /Users/denis/Sites/lithium/libraries/lithium/data/source/Database.php on line 613

(its value is null)
on 09.02.10 by ddebernardy
Fixed in my db branch
on 09.30.10 by nate
  • owner was changed to nate
  • status was changed to in progress
on 04.26.11 by nate
  • owner was changed to Howard
(fixed) on 04.29.11 by Howard
  • status was changed to closed
  • resolution was changed to fixed
Fixed in [b63c3ae7e0dabffc11ea2ebb60e024af66d31994]