]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 28 Dec 2014 22:52:51 +0000 (19:52 -0300)
commit7aec3a9aa4ed826767fb02c2b4b3acf90b5f0e54
tree9a337ff0ba97adc645c368147669c8370e9b456a
parent179ef0f28f7216231a07adb69fc0f3e1e4858d1a
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>
t/db_dependent/Koha.t