]> git.koha-community.org Git - koha.git/commit
Bug 12499: adding units tests for C4::Letters
authorYohann Dufour <dufour.yohann@gmail.com>
Wed, 2 Jul 2014 07:13:44 +0000 (09:13 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 7 Jul 2014 13:18:42 +0000 (10:18 -0300)
commit47de926463c7f50cde887dfa36895a125a09b7c8
treebe06f166efc96891140572d6e2f9416f990c0daf
parentf187d9d9e7b2e399b70b70c3aa9c229a5010d294
Bug 12499: adding units tests for C4::Letters

The tests for the subroutines : GetMessageTransportType, EnqueueLetter, SendQueuedMessages, GetQueuedMessages, GetLetters, getletter, addalert, getalert, delalert and GetPreparedLetter of the module C4::Letters have been added.

Test plan:
1) Apply the patch
2) Execute the unit tests by launching :
prove t/db_dependent/Letters.t
3) The result has to be a success without error or warning :
t/db_dependent/Letters.t .. ok
All tests successful.
Files=1, Tests=45,  2 wallclock secs ( 0.04 usr  0.01 sys +  1.44 cusr  0.08 csys =  1.57 CPU)
Result: PASS

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
All test pass, no errors.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Letters.t