Bug 17573

Summary: Remove DecreaseLoanHighHolds.t warnings
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Test SuiteAssignee: Tomás Cohen Arazi <tomascohen>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: normal    
Priority: P5 - low CC: kyle, m.de.rooy, mtj
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 14598    
Bug Blocks:    
Attachments: Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t
[SIGNED-OFF] Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t
Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t

Description Tomás Cohen Arazi 2016-11-07 18:23:18 UTC
Bug 14598 made this tests raise lots of warnings because of incomplete data on sample items.
Comment 1 Tomás Cohen Arazi 2016-11-07 18:26:22 UTC
Created attachment 57274 [details] [review]
Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t

To test:
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> FAIL: Lots of warnings
- Apply the patch
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> SUCCESS: All green and no warnings.
- Sign off :-D

Sponsored-by: ByWater Solutions
Comment 2 Josef Moravec 2016-11-07 21:30:21 UTC
Created attachment 57287 [details] [review]
[SIGNED-OFF] Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t

To test:
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> FAIL: Lots of warnings
- Apply the patch
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> SUCCESS: All green and no warnings.
- Sign off :-D

Sponsored-by: ByWater Solutions

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 3 Marcel de Rooy 2016-11-11 08:32:50 UTC
Created attachment 57453 [details] [review]
Bug 17573: Remove itemtype-related warnings from DecreaseLoanHighHolds.t

To test:
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> FAIL: Lots of warnings
- Apply the patch
- Run:
  $ prove t/db_dependent/DecreaseLoanHighHolds.t
=> SUCCESS: All green and no warnings.
- Sign off :-D

Sponsored-by: ByWater Solutions

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Kyle M Hall 2016-11-12 02:35:11 UTC
Pushed to master for 16.11, thanks Tomas!
Comment 5 Mason James 2016-12-14 10:47:46 UTC
Pushed to 16.05.x, for 16.05.06 release