Koha/t
Galen Charlton 5290ec5596 test suite cleanup
Many of the tests were failing or putting warnings
because a valid systempreferences table is
usaully absent by the time 'make test' is run.

Fortunately, only a few modules try to invoke
C4::Context->preference during module initialization,
so added to the test suite override_context_prefs.pm,
which replaces preference() with a sub to return
testing values for three variables: 'dateformat',
'marcflavour', and 'LibraryName'.

Also fixed bug in t/Boolean.t

With this patch and the patch to move the DB-dependent
tests off to the side for the moment, 'make test'
now runs cleanly, at least on Debian.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:08:02 -06:00
..
db_dependent DB-dependent tests moved 2008-01-08 14:07:38 -06:00
Accounts.t test suite cleanup 2008-01-08 14:08:02 -06:00
Amazon.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
AuthoritiesMarc.t test suite cleanup 2008-01-08 14:08:02 -06:00
Barcodes_PrinterConfig.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Biblio.t test suite cleanup 2008-01-08 14:08:02 -06:00
Bookfund.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Bookseller.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Boolean.t test suite cleanup 2008-01-08 14:08:02 -06:00
Branch.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Breeding.t test suite cleanup 2008-01-08 14:08:02 -06:00
Calendar.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Circulation.t test suite cleanup 2008-01-08 14:08:02 -06:00
Date.t test suite cleanup 2008-01-08 14:08:02 -06:00
Dates.t test suite cleanup 2008-01-08 14:08:02 -06:00
dummy.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Input.t Input.t permissions fix 2007-11-16 13:24:37 -06:00
Items.t test suite cleanup 2008-01-08 14:08:02 -06:00
Koha.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Labels.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Languages.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Letters.t test suite cleanup 2008-01-08 14:08:02 -06:00
Log.t test suite cleanup 2008-01-08 14:08:02 -06:00
Maintainance.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Members.t test suite cleanup 2008-01-08 14:08:02 -06:00
NewsChannels.t test suite cleanup 2008-01-08 14:08:02 -06:00
Output.t C4::Output tests -- removed inccorect tests 2008-01-08 14:07:23 -06:00
Overdues.t test suite cleanup 2008-01-08 14:08:02 -06:00
override_context_prefs.pm test suite cleanup 2008-01-08 14:08:02 -06:00
Print.t test suite cleanup 2008-01-08 14:08:02 -06:00
Record.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Reserves.t test suite cleanup 2008-01-08 14:08:02 -06:00
Review.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Search.t test suite cleanup 2008-01-08 14:08:02 -06:00
Serials.t test suite cleanup 2008-01-08 14:08:02 -06:00
Stats.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Suggestions.t test suite cleanup 2008-01-08 14:08:02 -06:00
Z3950.t test suite cleanup 2008-01-08 14:08:02 -06:00