[Koha-bugs] [Bug 8110] Add tests for Calendar modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 14 08:14:14 CEST 2012


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

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA
         QA Contact|                            |mtj at kohaaloha.com

--- Comment #45 from Mason James <mtj at kohaaloha.com> ---
t/db_dependent/Holidays.t(In reply to comment #39)
> QA comments:
> 
> One test does not pass:
> #   Failed test 'Christmas is a closed day'
> #   at t/db_dependent/Holidays.t line 44.
> #          got: '0'
> #     expected: '1'
> 
> Marked as Failed QA

ok, i think this one is looking good now...
all tests pass, after applying 8418 and 8486

everyone.. marking this one as 'paseed QA'

$ perl  t/db_dependent/Holidays.t
1..8
ok 1 - use Koha::Calendar;
ok 2 - use C4::Calendar;
ok 3 - Koha::Calendar class returned isa Koha::Calendar
ok 4 - C4::Calendar class returned isa C4::Calendar
ok 5 - Sunday is a closed day
ok 6 - Monday is not a closed day
ok 7 - Christmas is a closed day
ok 8 - New Years day is a closed day

----------------------------------------------

$ koha-qa.pl -c 3

testing 3 commit(s) (applied to commit 15cf307)
 * 47deb47 Bug 8656 Calendar needs to load both exception and nonexception d
      Koha/Calendar.pm

 * 51efc88 Bug 8110 - add 'sample_holidays.sql' files for all languages
      installer/data/mysql/de-DE/optional/sample_holidays.sql
      installer/data/mysql/es-ES/optional/sample_holidays.sql
      installer/data/mysql/fr-FR/2-Optionel/sample_holidays.sql
      installer/data/mysql/it-IT/optional/sample_holidays.sql
      installer/data/mysql/nb-NO/2-Valgfritt/sample_holidays.sql
      installer/data/mysql/pl-PL/optional/sample_holidays.sql
      installer/data/mysql/ru-RU/optional/sample_holidays.sql
      installer/data/mysql/uk-UA/optional/sample_holidays.sql

 * ed34abb Holidays Test Plan - DB Dependent
      t/db_dependent/Holidays.t

* Koha/Calendar.pm                                                         OK
* t/db_dependent/Holidays.t                                                OK

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list