[Bug 16404] New: Fix Circulation/Branch.t (tests 8-11)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Bug ID: 16404 Summary: Fix Circulation/Branch.t (tests 8-11) Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: m.de.rooy@rijksmuseum.nl QA Contact: gmcharlt@gmail.com Resolve: # Failed test 'GetBranchitem returns holdallowed and return branch' # at t/db_dependent/Circulation/Branch.t line 226. # Structures begin differing at: # $got->{hold_fulfillment_policy} = 'any' # $expected->{hold_fulfillment_policy} = Does not exist # Failed test 'Without parameters GetBranchItemRule returns the values in default_circ_rules' # at t/db_dependent/Circulation/Branch.t line 234. # Structures begin differing at: # $got->{hold_fulfillment_policy} = 'any' # $expected->{hold_fulfillment_policy} = Does not exist # Failed test 'With only a branchcode GetBranchItemRule returns values in default_branch_circ_rules' # at t/db_dependent/Circulation/Branch.t line 239. # Structures begin differing at: # $got->{hold_fulfillment_policy} = 'any' # $expected->{hold_fulfillment_policy} = Does not exist # Failed test 'With only one parametern GetBranchItemRule returns default values' # at t/db_dependent/Circulation/Branch.t line 244. # Structures begin differing at: # $got->{hold_fulfillment_policy} = 'any' # $expected->{hold_fulfillment_policy} = Does not exist t/db_dependent/Circulation/Branch.t .. 13/14 # Looks like you failed 4 tests of 14. t/db_dependent/Circulation/Branch.t .. Dubious, test returned 4 (wstat 1024, 0x400) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 51051 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51051&action=edit Bug 16404: Fix Circulation/Branch.t (tests 8-11) Resolves: Failed test 'GetBranchitem returns holdallowed and return branch' at t/db_dependent/Circulation/Branch.t line 226. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'Without parameters GetBranchItemRule returns the values in default_circ_rules' at t/db_dependent/Circulation/Branch.t line 234. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only a branchcode GetBranchItemRule returns values in default_branch_circ_rules' at t/db_dependent/Circulation/Branch.t line 239. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only one parametern GetBranchItemRule returns default values' at t/db_dependent/Circulation/Branch.t line 244. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Test plan: Run test before and after applying this patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |m.de.rooy@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51051|0 |1 is obsolete| | --- Comment #2 from Marc Véron <veron@veron.ch> --- Created attachment 51052 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51052&action=edit Bug 16404: Fix Circulation/Branch.t (tests 8-11) Resolves: Failed test 'GetBranchitem returns holdallowed and return branch' at t/db_dependent/Circulation/Branch.t line 226. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'Without parameters GetBranchItemRule returns the values in default_circ_rules' at t/db_dependent/Circulation/Branch.t line 234. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only a branchcode GetBranchItemRule returns values in default_branch_circ_rules' at t/db_dependent/Circulation/Branch.t line 239. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only one parametern GetBranchItemRule returns default values' at t/db_dependent/Circulation/Branch.t line 244. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Test plan: Run test before and after applying this patch. Signed-off-by: Marc Véron <veron@veron.ch> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15534 CC| |jonathan.druart@bugs.koha-c | |ommunity.org Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15534 [Bug 15534] Add the ability to prevent a patron from placing a hold on a record with available items -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #51052|0 |1 is obsolete| | --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 51075 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51075&action=edit Bug 16404: Fix Circulation/Branch.t (tests 8-11) Resolves: Failed test 'GetBranchitem returns holdallowed and return branch' at t/db_dependent/Circulation/Branch.t line 226. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'Without parameters GetBranchItemRule returns the values in default_circ_rules' at t/db_dependent/Circulation/Branch.t line 234. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only a branchcode GetBranchItemRule returns values in default_branch_circ_rules' at t/db_dependent/Circulation/Branch.t line 239. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Failed test 'With only one parametern GetBranchItemRule returns default values' at t/db_dependent/Circulation/Branch.t line 244. Structures begin differing at: $got->{hold_fulfillment_policy} = 'any' $expected->{hold_fulfillment_policy} = Does not exist Test plan: Run test before and after applying this patch. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Note: I do not see the usefulness of the lazy_any variable, I don't think it make things easier to read. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com Status|Passed QA |Pushed to Master --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for Koha 16.05! Thanks Marcel! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16404 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED CC| |julian.maurice@biblibre.com Resolution|--- |FIXED --- Comment #5 from Julian Maurice <julian.maurice@biblibre.com> --- Not needed in stable versions, status changed to RESOLVED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org