]> git.koha-community.org Git - koha.git/commit
Bug 12445: ading unit tests to test the routines : CountSuggestion, ConnectSuggestion...
authorYohann Dufour <dufour.yohann@gmail.com>
Thu, 19 Jun 2014 14:32:05 +0000 (16:32 +0200)
committerMason James <mtj@kohaaloha.com>
Fri, 29 May 2015 07:18:47 +0000 (19:18 +1200)
commiteea7323622e0d9a5cbbe3598dc2a7a9dbfe341f4
tree0200134baf4d5f51d0e4e1a1d827b0889c48a4f5
parentb42f8cf1b23dc0eb3c3bd6e43c3d532fd8ff31bc
Bug 12445: ading unit tests to test the routines : CountSuggestion, ConnectSuggestionAndBiblio, SearchSuggestion, GetSuggestionInfo, DelSuggestion, GetSuggestionByStatus

These routines were not tested

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

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test pass, no koha-qa errors

But now there are 91!
prove t/db_dependent/Suggestions.t
t/db_dependent/Suggestions.t .. ok
All tests successful.
Files=1, Tests=91,  2 wallclock secs ( 0.05 usr  0.00 sys +  1.77 cusr  0.10 csys =  1.92 CPU)
Result: PASS

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Mason James <mtj@kohaaloha.com>
t/db_dependent/Suggestions.t