Displaying 1 result from an estimated 1 matches for "test_should_reset_password".
2007 Dec 18
3
MySQL transactions not working in unit tests?
...''t being rolled back. I''m confused, since I have
transactional fixtures turned on and MySQL InnoDB engine being used.
Details:
- MySQL 5.0.24. InnoDB is the default engine, all tables in the test
db are using the InnoDB engine.
- Stock AAA unit tests.
- The unit test in question, test_should_reset_password, succeeds when
run by itself, fails when run with all of the unit tests. (I''m using
autotest, so when I touch the unit test file, I see the test succeed
in isolation, then the same test fails when run with all of the
tests.)
- test.log clearly shows the unit tests being wrapped in BEGIN/
R...