Ticket #183 (new defect)
Unit tests don't work with SQLite
| Reported by: | michaeltwofish | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.6 |
| Component: | Habari Core Software | Version: | SVN |
| Keywords: | testing, SQLite, has_patch | Cc: |
Description
The connection string for SQLite in config.php specifies a relative path to the database. This works when Habari is launched from it's main directory, but the unit test framework requires that Habari is launched from the tests directory, and therefore the database is not found. A manual workaround is to change the connection string to an absolute path, but a better fix needs to be implemented.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
