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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 27 Jan 2014 12:38:16 +0000 (13:38 +0100)
commit252051df7378d1d23e726a8757efb4e6af22d1fa
treee230b4ba8efc8dc25b8cd1f83e5b06913baefdc9
parentf1bb46172bdc90db00a08c2c78e169952fd22feb
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>
(cherry picked from commit f874eec0793f83c3c0f1461fecb878ca57ed701b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/GetDailyQuote.t [new file with mode: 0644]