Bug 17499: Define koha_object(s)_class where needed
This patch adds koha_object(s)_class for needed modules to fix issues with tests. Sponsored-by: Koha-Suomi Oy Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Sam Lau <samalau@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b5b88b053d
commit
5ed051b114
5 changed files with 40 additions and 0 deletions
|
@ -193,4 +193,12 @@ __PACKAGE__->many_to_many(
|
|||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Message::Preference';
|
||||
}
|
||||
sub koha_objects_class {
|
||||
'Koha::Patron::Message::Preferences';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -112,4 +112,12 @@ __PACKAGE__->belongs_to(
|
|||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Message::Transport::Preference';
|
||||
}
|
||||
sub koha_objects_class {
|
||||
'Koha::Patron::Message::Transport::Preferences';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -117,4 +117,12 @@ __PACKAGE__->has_many(
|
|||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Message::Attribute';
|
||||
}
|
||||
sub koha_objects_class {
|
||||
'Koha::Patron::Message::Attributes';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -134,4 +134,12 @@ __PACKAGE__->belongs_to(
|
|||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Message::Transport';
|
||||
}
|
||||
sub koha_objects_class {
|
||||
'Koha::Patron::Message::Transports';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -155,4 +155,12 @@ __PACKAGE__->many_to_many(
|
|||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Message::Transport::Type';
|
||||
}
|
||||
sub koha_objects_class {
|
||||
'Koha::Patron::Message::Transport::Types';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Reference in a new issue