FriendsOfCake / fixturize

CakePHP: Improve performance of your fixture based tests on MySQL.
MIT License
24 stars 14 forks source link

Fixing of important bug - tableKey #14

Closed samuelszabo closed 5 years ago

samuelszabo commented 5 years ago

ChecksumTestFixture is using _getTableKey() (connection and table name) as key of $_tableHashes in insert(), but when validate modifications, it checks for just table name, which causes incorrect response of _tableUnmodified(), and creating fixtures over again and again.

Big thanks to my colleague @sukihub for finding this bug.

Fixes #13

jippi commented 5 years ago

Thanks! Fixed and released as https://github.com/FriendsOfCake/fixturize/releases/tag/1.0.3