Bug 16371: Rewrite get_daily_quote
authorEmmi Takkinen <emmi.takkinen@outlook.com>
Tue, 7 Jul 2020 12:45:17 +0000 (15:45 +0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 08:15:33 +0000 (10:15 +0200)
commitc0acc0f4b40254e445fde782f37ef31b39e44449
treeb5db10aecd038907d98931b881509125b3c016b1
parentd573e4c40cec94eaf0aa175cc8da74c94cf6c9ce
Bug 16371: Rewrite get_daily_quote

An updated test plan:
1. Apply the patch(es).
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!

Sponsored-by: Koha-Suomi Oy

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Quote.pm
t/db_dependent/Koha/Quotes.t