]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 29 Apr 2015 21:42:53 +0000 (09:42 +1200)
commit546feb10e76db23689875d38b4198d46ca24a312
treebc50c71683a6355e21bfbf2066db6efedf4f69b8
parent7a4a379668a51b23dbf9e46b9fc3d6c170bc292a
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>
(cherry picked from commit 73c0c9ef0030002f7b9aa31de8b1c5fa3af80da6)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/db_dependent/Circulation_issue.t