Bug 13315: (QA followup) fix t/db_dependent/Circulation_issue.t
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Apr 2015 18:15:29 +0000 (15:15 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Apr 2015 18:15:31 +0000 (15:15 -0300)
commit73c0c9ef0030002f7b9aa31de8b1c5fa3af80da6
tree6dc6a076aed46f5bfd116bac16697d60049b88ae
parent16d438d18b057c5781371327ef04b18855d2f011
Bug 13315: (QA followup) fix t/db_dependent/Circulation_issue.t

C4::Circulation::AddIssue now returns a Koha::Schema::Result::Issue object
so tests need to be fixed.

The old behaviour was to always return the due date. It now returns
undef if no issue performed. So one of the tests become irrelevant.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Circulation_issue.t