projects
/
koha-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 19036: (QA follow-up) Use Koha::DateUtils
[koha-equinox.git]
/
t
/
db_dependent
/
Koha
/
Account.t
diff --git
a/t/db_dependent/Koha/Account.t
b/t/db_dependent/Koha/Account.t
index
c6341c0
..
4a8ef7c
100755
(executable)
--- a/
t/db_dependent/Koha/Account.t
+++ b/
t/db_dependent/Koha/Account.t
@@
-1065,7
+1065,7
@@
subtest 'Koha::Account::pay() generates credit number' => sub {
my $context = Test::MockModule->new('C4::Context');
$context->mock( 'userenv', { branch => $library->id } );
- my $now = DateTime->now;
+ my $now = dt_from_string;
my $year = $now->year;
my $month = $now->month;
my ($accountlines_id, $accountline);