]> git.koha-community.org Git - koha.git/commit
Bug 13453: Koha.t daily quote tests assume sample data
authorMark Tompsett <mtompset@hotmail.com>
Fri, 12 Dec 2014 17:28:11 +0000 (12:28 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 29 Dec 2014 21:32:36 +0000 (10:32 +1300)
commit6daf2b7c437a8cd94ee45683bc6669497fa98642
treec82c30f2b6f83e4adfd6cc259d99e50a0dcc3b95
parentec9766e8a66121422779b9ec8e826706f0168cab
Bug 13453: Koha.t daily quote tests assume sample data

By adding quotes 3 and 25 from the sample data, this test can
pass without having the sample quote data loaded.

TEST PLAN
---------
1) Ensure there is no quote id=3 or that it is NOT
   Abraham Lincoln.
2) prove t/db_dependent/Koha.t
   -- this should fail the daily quote test.
3) apply patch
4) prove t/db_dependent/Koha.t
   -- this should *NOT* fail the daily quote test.
5) run koha qa test tools

Followed test plan 1)-4). Without patch, daily quote test failed. With patch, test passed OK.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Works as described, leaves actual data unchanged.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 7aec3a9aa4ed826767fb02c2b4b3acf90b5f0e54)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/db_dependent/Koha.t