[Koha-bugs] [Bug 16371] Quote of the Day (QOTD) for the staff interface
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 13 13:02:45 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16371
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #33 from David Nind <david at davidnind.com> ---
Everything works as expected, however the tests fail! 8-(
prove t/db_dependent/Koha/Quotes.t
t/db_dependent/Koha/Quotes.t .. 1/13 Can't use string ("Koha::Quote") as a HASH
ref while "strict refs" in use at /kohadevbox/koha/Koha/Object.pm line 735.
# Looks like your test exited with 255 just after 2.
t/db_dependent/Koha/Quotes.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 11/13 subtests
Test Summary Report
-------------------
t/db_dependent/Koha/Quotes.t (Wstat: 65280 Tests: 2 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 13 tests but ran 2.
Files=1, Tests=2, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.63 cusr 0.16
csys = 1.82 CPU)
Result: FAIL
An updated test plan:
1. Apply the patch.
2. Run the database update (updatedatabase on koha-testing-docker).
3. Check that the 'QuoteOfTheDay' system preference options
work as expected:
- OPAC: QOTD only appears in the OAPC
- Staff interface: QOTD only appears in the staff interface
- Both (Select all): QOTD appears in the staff interface and OPAC
4. Run the tests and make sure they pass:
prove t/db_dependent/Koha/Quotes.t
5. Sign off!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list