projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c473c
)
Bug 14591: (QA follow-up) Fix AddReturn call in Circulation/issue.t
author
Josef Moravec
<josef.moravec@gmail.com>
Fri, 15 Mar 2019 09:41:22 +0000
(09:41 +0000)
committer
root
<root@f1ebe1bec408>
Fri, 15 Mar 2019 12:14:03 +0000
(12:14 +0000)
Test plan:
prove t/db_dependent/Circulation/issue.t
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Circulation/issue.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/Circulation/issue.t
b/t/db_dependent/Circulation/issue.t
index
e523778
..
97c3902
100644
(file)
--- a/
t/db_dependent/Circulation/issue.t
+++ b/
t/db_dependent/Circulation/issue.t
@@
-342,7
+342,7
@@
ok( $return->{return_date} eq $return->{today}, "Item returned with no return da
$dbh->do("DELETE FROM old_issues");
C4::Circulation::AddIssue( $borrower_1, $barcode_1, $daysago10, 0, $today );
-AddReturn($barcode_1, undef, undef,
undef, '2014-04-01 23:42'
);
+AddReturn($barcode_1, undef, undef,
dt_from_string('2014-04-01 23:42')
);
$return = $dbh->selectrow_hashref("SELECT * FROM old_issues LIMIT 1" );
ok( $return->{returndate} eq '2014-04-01 23:42:00', "Item returned with a return date of '2014-04-01 23:42' has that return date" );