cd7ec988f2
Previously, it would take the guid and try to search for that in the episode URL column, which may not find a match (or possibly even find the wrong match). testDoNotFailToUpdateEpisodeActionByGuidIfThereIsAnotherWithTheSameValueForEpisodeUrl didn't catch this issue because it used the same value for episode and guid when updating at line 84, so fix that as well. And for good measure, give the save actions different position values, so the asserts actually check that the saves have succeeded and they found the right episode. |
||
---|---|---|
.. | ||
Controller | ||
Migration | ||
AppTest.php | ||
EpisodeActionGuidMigrationTest.php | ||
EpisodeActionRepositoryTest.php | ||
EpisodeActionSaverGuidBackwardCompatibilityTest.php | ||
EpisodeActionSaverGuidMigrationTest.php |