View | Details | Raw Unified | Return to bug 31212
Collapse All | Expand All

(-)a/C4/Circulation.pm (-1 / +1 lines)
Lines 42-48 use Koha::Account; Link Here
42
use Koha::AuthorisedValues;
42
use Koha::AuthorisedValues;
43
use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue;
43
use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue;
44
use Koha::Biblioitems;
44
use Koha::Biblioitems;
45
use Koha::DateUtils qw( dt_from_string output_pref );
45
use Koha::DateUtils qw( dt_from_string );
46
use Koha::Calendar;
46
use Koha::Calendar;
47
use Koha::Checkouts;
47
use Koha::Checkouts;
48
use Koha::Illrequests;
48
use Koha::Illrequests;
(-)a/C4/Items.pm (-1 / +1 lines)
Lines 56-62 use DateTime::Format::MySQL; Link Here
56
                  # debugging; so please don't remove this
56
                  # debugging; so please don't remove this
57
57
58
use Koha::AuthorisedValues;
58
use Koha::AuthorisedValues;
59
use Koha::DateUtils qw( dt_from_string output_pref );
59
use Koha::DateUtils qw( dt_from_string );
60
use Koha::Database;
60
use Koha::Database;
61
61
62
use Koha::Biblios;
62
use Koha::Biblios;
(-)a/t/db_dependent/Koha/Items.t (-2 / +1 lines)
Lines 83-89 subtest 'store' => sub { Link Here
83
83
84
    is( t::lib::Dates::compare( $item->replacementpricedate, $today ),
84
    is( t::lib::Dates::compare( $item->replacementpricedate, $today ),
85
        0, 'replacementpricedate must have been set to today if not given' );
85
        0, 'replacementpricedate must have been set to today if not given' );
86
    is( t::lib::Dates::compare( $item->datelastseen, $today ),
86
    is( t::lib::Dates::compare( dt_from_string($item->datelastseen)->ymd, $today ),
87
        0, 'datelastseen must have been set to today if not given' );
87
        0, 'datelastseen must have been set to today if not given' );
88
    is(
88
    is(
89
        $item->itype,
89
        $item->itype,
90
- 

Return to bug 31212