Bug 22374

Summary: Circulation.t noisy since Bug 21753 was pushed
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: Test SuiteAssignee: Martin Renvoize <martin.renvoize>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: katrin.fischer, nick
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Who signed the patch off: Text to go in the release notes:
Version(s) released in:
Bug Depends on: 21753    
Bug Blocks:    
Attachments: Bug 22374: Silence warning in UpdateFine logaction
Bug 22374: Silence warning in UpdateFine logaction
Bug 22374: Silence warning in UpdateFine logaction

Description Martin Renvoize 2019-02-20 09:20:01 UTC
I missed a case in the tests!
Comment 1 Martin Renvoize 2019-02-20 09:28:54 UTC
Created attachment 85318 [details] [review]
Bug 22374: Silence warning in UpdateFine logaction

In bug 21753 we replaced the always empty variable $type with undef and
this caused noise in the Circulation.t tests. This patch replaces the
undef with the string 'UPDATE' to reflact that fine updates are taking
place.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 2 Jonathan Druart 2019-02-21 15:22:49 UTC
Created attachment 85451 [details] [review]
Bug 22374: Silence warning in UpdateFine logaction

In bug 21753 we replaced the always empty variable $type with undef and
this caused noise in the Circulation.t tests. This patch replaces the
undef with the string 'UPDATE' to reflact that fine updates are taking
place.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Martin Renvoize 2019-02-25 18:08:15 UTC
*** Bug 22356 has been marked as a duplicate of this bug. ***
Comment 4 Katrin Fischer 2019-02-25 18:36:27 UTC
Created attachment 85651 [details] [review]
Bug 22374: Silence warning in UpdateFine logaction

In bug 21753 we replaced the always empty variable $type with undef and
this caused noise in the Circulation.t tests. This patch replaces the
undef with the string 'UPDATE' to reflact that fine updates are taking
place.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Nick Clemens 2019-03-11 10:50:15 UTC
Bug 21747 removed this code, is this still needed?
Comment 6 Martin Renvoize 2019-03-11 11:42:03 UTC
The call to logaction moves to Koha::Account::Line->adjust and it is already set to 'UPDATE' there..

This patch is no longer needed :)

*** This bug has been marked as a duplicate of bug 21747 ***