josegonzalez / cakephp-version

CakePHP3: plugin that facilitates versioned database entities
MIT License
51 stars 22 forks source link

Use correct foreign key when updating version_id #12

Closed DanielPenkov closed 8 years ago

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.08%) to 95.0% when pulling 10a1284c38cb06eb09e13733a961b8bb385c020d on DanielPenkov:master into 60b817ffce3a3f73103ce4db4c3e6395e6c49609 on josegonzalez:master.

josegonzalez commented 8 years ago

Do you have a unit test for this?

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.08%) to 95.0% when pulling 69d069971463260b40ea10e9af99bb02066c3d7a on DanielPenkov:master into 60b817ffce3a3f73103ce4db4c3e6395e6c49609 on josegonzalez:master.

DanielPenkov commented 8 years ago

I added one more article to the fixtures with version greater than the first one because this is the case when the version Id is not updated properly.