MenuChangeTestCase fails because rowCount() is not portable.
The rowCount()
function returns the number of affected rows, not the number of changed rows. Somehow, with SQLite, this means returning 1 when there are no results on certain SELECT calls, such as the one in testMenuChangeTypeTestCase()
.
Changing the SQL to return COUNT(*)
instead works more portably.