[Bug 14272] Allow OPAC to show a single news item
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272 Aleisha Amohia <aleishaamohia@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleishaamohia@hotmail.com --- Comment #18 from Aleisha Amohia <aleishaamohia@hotmail.com> --- (In reply to M. Tompsett from comment #14)
Created attachment 47556 [details] [review] Bug 14272: Show single news item (tests)
Updates tests to match the modified NewsChannels module.
Sponsored-by: Halland County Library
The tests fail: t/db_dependent/NewsChannels.t .. 1/12 # Category CAT1 not found, inserting # Borrower BRWR1 not found, inserting # Failed test 'got back expected news item via get_opac_new - ID 1' # at t/db_dependent/NewsChannels.t line 131. # Structures begin differing at: # $got->{newdate} = Does not exist # $expected->{newdate} = '01/01/2000' # Failed test 'got back expected news item via get_opac_new - ID 2' # at t/db_dependent/NewsChannels.t line 158. # Structures begin differing at: # $got->{newdate} = Does not exist # $expected->{newdate} = '01/01/2000' # Looks like you failed 2 tests of 12. t/db_dependent/NewsChannels.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/12 subtests Test Summary Report ------------------- t/db_dependent/NewsChannels.t (Wstat: 512 Tests: 12 Failed: 2) Failed tests: 8-9 Non-zero exit status: 2 Files=1, Tests=12, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.59 cusr 0.04 csys = 0.65 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org