]> git.koha-community.org Git - koha.git/commit
Bug 30410: (follow-up) Instantiate object in unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Apr 2022 07:30:56 +0000 (08:30 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Apr 2022 07:33:02 +0000 (08:33 +0100)
commit5a637617e497cbf30b7c33a3a93d52117773e997
tree650f864c451acbfd921c0afcf0d35605ee88b126
parentc2f215378022c4c433de02e7b25aee37b0b551e6
Bug 30410: (follow-up) Instantiate object in unit test

This patch updates the unit test for the BackgroundJob->_derived_class()
private method to instantiate a proper object to work on instead of
calling the type_to_class_mapping method directly as non-object method.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/BackgroundJob.t