Bug 16674

Summary: remove two broken test from t/Ris.t
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: RESOLVED DUPLICATE QA Contact: Galen Charlton <gmcharlt>
Severity: normal    
Priority: P5 - low CC: hector.hecaxmmx, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16668
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 16674: remove two tests from t/Ris.t
[SIGNED-OFF]Bug 16674: remove two tests from t/Ris.t

Description Galen Charlton 2016-06-07 01:58:23 UTC
The patch for bug 16442	happened to change the implicit return values for C4::Ris::print_title() and C4::Ris::print_stitle(), thereby breaking two tests t/Ris.t.

However... on reflection those two tests are not very useful, as they test the return value of two routines that neither advertise nor supply any return value: their sole purpose is to calculate some values and print them to STDOUT.
Comment 1 Galen Charlton 2016-06-07 02:07:11 UTC Comment hidden (obsolete)
Comment 2 Héctor Eduardo Castro Avalos 2016-06-09 15:25:50 UTC
Created attachment 52198 [details] [review]
[SIGNED-OFF]Bug 16674: remove two tests from t/Ris.t

This patch removes two tests that were broken by the patch for
bug 16442, thus preventing packages from being build in master.

Ordinarily, one would either fix the tests or
change the code that broke the tests... but as the tests in
question check the return value of routines that do not
actually advertise a return value, I've elected to simply
remove them.

To test
-------
[1] Verify that t/Ris.t passes.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Comment 3 Jonathan Druart 2016-06-10 13:30:07 UTC

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