Bug 20581: (follow-up) Fix unit test

Since we're now storing the authorised_value column as the foreign key,
rather than the id, we need to account for this in the test

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Andrew Isherwood 2019-02-06 14:18:59 +00:00 committed by Nick Clemens
parent a2ced89ab4
commit 9f9b809b60

View file

@ -837,7 +837,7 @@ subtest 'Custom statuses' => sub {
{
class => 'Koha::Illrequests',
value => {
status_alias => $av->id
status_alias => $av->authorised_value
}
}
);