[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 17:14:24 CET 2012


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7206|0                           |1
        is obsolete|                            |

--- Comment #136 from Paul Poulain <paul.poulain at biblibre.com> 2012-01-31 16:14:24 UTC ---
Comment on attachment 7206
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7206
Added unit tests for C4/Koha.pm

QA Comment : this patch depends on what is in the database
+is(C4::Koha::GetSupportName('BK'),"Books", 'testing support name');
+is(C4::Koha::GetSupportName(''),undef, 'testing support name');

It should be in t/db_dependant. and not in t/

marking obsolete as it fails QA

2 possible fixes:
* remove db_dependant from those tests & create another one in t/db_dependant
* move everything to t/db_dependant

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list