Bugzilla – Attachment 102986 Details for
Bug 24820
The cashup workflow should use the static 'date' field rather than the transient 'timestamp' field in accountlines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24820: (RM follow-up) Fix test after switch to 'date' field
Bug-24820-RM-follow-up-Fix-test-after-switch-to-da.patch (text/plain), 1.34 KB, created by
Martin Renvoize
on 2020-04-15 10:51:58 UTC
(
hide
)
Description:
Bug 24820: (RM follow-up) Fix test after switch to 'date' field
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-04-15 10:51:58 UTC
Size:
1.34 KB
patch
obsolete
>From ae297d8f0284c06e479ca8b4c96c92f008935b0d Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 15 Apr 2020 11:51:12 +0100 >Subject: [PATCH] Bug 24820: (RM follow-up) Fix test after switch to 'date' > field > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Koha/Cash/Register.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Cash/Register.t b/t/db_dependent/Koha/Cash/Register.t >index dfd1881b82..787ad2ef59 100644 >--- a/t/db_dependent/Koha/Cash/Register.t >+++ b/t/db_dependent/Koha/Cash/Register.t >@@ -206,13 +206,13 @@ subtest 'cashup' => sub { > my $accountline1 = $builder->build_object( > { > class => 'Koha::Account::Lines', >- value => { register_id => $register->id, timestamp => \'NOW() - INTERVAL 5 MINUTE' }, >+ value => { register_id => $register->id, date => \'NOW() - INTERVAL 5 MINUTE' }, > } > ); > my $accountline2 = $builder->build_object( > { > class => 'Koha::Account::Lines', >- value => { register_id => $register->id, timestamp => \'NOW() - INTERVAL 5 MINUTE'}, >+ value => { register_id => $register->id, date => \'NOW() - INTERVAL 5 MINUTE'}, > } > ); > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24820
:
100265
|
102080
|
102465
|
102950
| 102986