http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12445

--- Comment #10 from Yohann Dufour <yohann.duf...@biblibre.com> ---
Created attachment 29954
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29954&action=edit
Bug 12445: Improving unit tests for C4::Suggestions.pm

Now, the tests used 'is' instead of 'ok', the tests are wrapped in a
transaction, adding tests for the routines NewSuggestion, GetSuggestion,
ModSuggestion, GetSuggestionFromBiblionumber and GetInfoFromBiblionumber.

The tests for the routines DelSuggestionsOlderThan, CountSuggestion,
ConnectSuggestionAndBiblio, SearchSuggestion, GetSuggestionInfo, DelSuggestion
and GetSuggestionByStatus will be arrived in another patch.

Test plan:
1/ Execute the command : prove t/db_dependent/Suggestions.t
2/ The result has to be a success without warning or error :
t/db_dependent/Suggestions.t .. ok
All tests successful.
Files=1, Tests=32,  2 wallclock secs ( 0.03 usr  0.01 sys +  1.49 cusr  0.08
csys =  1.61 CPU)
Result: PASS

Signed-off-by: Paola Rossi <paola.ro...@cineca.it>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to