Bug 30275: (QA follow-up) Fix TestBuilder.t
This patch adds 'CheckoutRenewal.checkout_id' to the list of non-foreign key relations found in _should_be_fk. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8052ee34a9
commit
b4eaac91c9
|
|
@ -433,7 +433,8 @@ sub _should_be_fk {
|
|||
# A column is not marked as FK, but a belongs_to relation is defined
|
||||
my ( $source, $column ) = @_;
|
||||
my $inconsistencies = {
|
||||
'Item.biblionumber' => 1, #FIXME: Please remove me when I become FK
|
||||
'Item.biblionumber' => 1, #FIXME: Please remove me when I become FK
|
||||
'CheckoutRenewal.checkout_id' => 1, #FIXME: Please remove when issues and old_issues are merged
|
||||
};
|
||||
return $inconsistencies->{ "$source.$column" };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue