]> git.koha-community.org Git - koha.git/commit
Bug 1953 [1/3]: test suite improvements
authorAndrew Moore <andrew.moore@liblime.com>
Fri, 25 Jul 2008 16:55:11 +0000 (11:55 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 27 Jul 2008 11:10:47 +0000 (06:10 -0500)
commit362e1025c9c59b482c0c61fa519f539ec0a955f4
tree1f22cbe935d80ec49eec182d4c19d31826de21af
parent406dbcd39a10d9fd4989eb7ae66a78cdbfc5a670
Bug 1953 [1/3]: test suite improvements

Here are a few improvments to the test suite to make it easier to write some tests
for C4::Items

I extracted "tomorrow" and "yesterday" methods from a test module into the base class
so that they could be used by multiple test modules

Adding callnumber to items added in the test suite.

I recatored KohaTest::add_biblios a bit to remove the manual count of the number of
MARC::Fields that were added.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
t/lib/KohaTest.pm
t/lib/KohaTest/Acquisition/GetHistory.pm