-
Task
-
Resolution: Fixed
-
Minor
-
3.0.10-RC1
-
None
When running the tests in MySQL strict mode, the test suite fails with 62 errors among these lines:
[code]
1) phpbb_dbal_select_test::test_return_on_error_select with data set #0 ('phpbb_users', 'username_clean = \'bertie\'', array(array('bertie')))
PHPUnit_Extensions_Database_Operation_Exception: COMPOSITE[INSERT] operation failed on query:
INSERT INTO `phpbb_users`
(`user_id`, `username_clean`)
VALUES
(?, ?)
using args: Array
(
[0] => 1
[1] => barfoo
)
[SQLSTATE[HY000]: General error: 1364 Field 'user_permissions' doesn't have a default value]
[code]
The solution to this problem appears to be defining the missing fields in the dbunit fixtures.