Here is just a guess but we need to tell TestBuilder the values of
housebound_deliverer and housebound_chooser to make sure it will not be
1
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
I manually tested setting to the opposite values in the tests, and
verified those values made the tests fail due to count problems.
The fix is valid.
source => 'HouseboundRole',
value => {
borrowernumber_id => $patron_chooser->{borrowernumber},
- housebound_chooser => 1,
+ housebound_chooser => 1,
+ housebound_deliverer => 0,
},
});
value => {
borrowernumber_id => $patron_deliverer->{borrowernumber},
housebound_deliverer => 1,
+ housebound_chooser => 0,
},
});