Bug 11279: regression test for picking random quote
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 12 Dec 2013 19:50:52 +0000 (20:50 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 19 Dec 2013 15:06:16 +0000 (15:06 +0000)
commitf874eec0793f83c3c0f1461fecb878ca57ed701b
treef3cf3818208083c4566ffe1864d2a4d445ae6319
parent0668dd7a8dbf2b34d8a93454bebf93dde44de38f
Bug 11279: regression test for picking random quote

This patch adds new tests based on the db_dependent tests in
t/db_dependent/Koha.t for GetDailyQuote().

Tests run on an empty database and don't require Test::Deep.

Tests will fail before applying the patch for 11297, but will
pass after applying the patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Koha/GetDailyQuote.t [new file with mode: 0644]