https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31676
--- Comment #7 from David Gustafsson <[email protected]> --- To make the 'Incremented fee tests' fail set CircControl to "ItemHomeLibrary" (which is the default) and HomeOrHoldingBranch to "homebranch" (default is "holdingbranch"). The test will now fail since the item does not have the correct homebranch set (since is set using $library->{branchcode} where library is an object). The reason why the tests pass anyway despite missing both homebranch and holdingbranch is that holdingbranch is set when one of the tests calls AddIssue which will in turn set the expected holdingbranch from userenv ($item_object->holdingbranch(C4::Context->userenv->{'branch'})); The $item will then have the expected homebranch (but not holdingbranch) for the rest of the tests. If the item is passed the correct branch value to begin with all combinations of the above settings will work. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
