Bug 32163: (bug 32030 follow-up) Fix koha_object[s]_class for ErmUserRole

Test plan:
run t/db_dependent/TestBuilder.t and confirm that the error related to
this module is gone. Another one may still fail however

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-11-10 08:16:06 +01:00 committed by Tomas Cohen Arazi
parent 8b4ea0beaa
commit e216df769e
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -130,10 +130,10 @@ __PACKAGE__->belongs_to(
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RkK5cQWFEmcrDioAfjOVWQ
sub koha_object_class {
'Koha::ERM::Agreement::UserRole';
'Koha::ERM::UserRole';
}
sub koha_objects_class {
'Koha::ERM::Agreement::UserRoles';
'Koha::ERM::UserRoles';
}
1;