Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix add_reference options validated on < 7.1
Option validation was [added][1] for 7.1+ Migration classes, and a compatibility layer was added to ensure that previous Migration versions do not have their options validated. However, the add_reference method was missing in the compatibility layer which results in pre 7.1 Migrations validating options passed to add_reference. This commit fixes the issue by adding add_reference to the compatibility layer. In addition to adding add_reference to the "no validation" compatibility test, the test is refactored to run against each previous migration version to ensure that they all behave consistently. [1]: e6da3eb
- Loading branch information
1 parent
af2bbd5
commit 71b4e22
Showing
3 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters