]> git.koha-community.org Git - koha.git/commit
bug: 2272 - remove warning from C4::Koha::getitemtypeimagedir
authorAndrew Moore <andrew.moore@liblime.com>
Mon, 23 Jun 2008 17:35:58 +0000 (12:35 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 25 Jun 2008 16:47:28 +0000 (11:47 -0500)
commit06720cd3cf8c10a0d9079abb7cf408b356b6cd66
tree71074aafcba26f84758a56415d4a57e35b9a0292
parent8ff29dda19654433ba07be63704dd3ae0b1c43a8
bug: 2272 - remove warning from C4::Koha::getitemtypeimagedir

I changed getitemtypeimagedir to set a default on its argument so that it would not complain if not passed 'opac'.
I improved the documentation on the method.
I edited the t/icondirecotries.t test script to explicitly pass an argument to both getitemtypeimagedir calls.
 - and I adjusted one line of whitespace to make similar things look similar
I added a test module for C4::Koha
I added a test module for C4::Koha::getitemtypeimagedir.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Koha.pm
t/icondirectories.t
t/lib/KohaTest/Koha.pm [new file with mode: 0644]
t/lib/KohaTest/Koha/getitemtypeimagedir.pm [new file with mode: 0644]