[Koha-bugs] [Bug 18231] Add the missing id-column to koha.issuingrules-table for DBIC fixtures

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 8 06:40:42 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18231

Alex Buckley <alexbuckley at catalyst.net.nz> changed:

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

--- Comment #26 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 66971
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66971&action=edit
Bug 18231: (follow-up) Fix t/db_dependent/Koha/Objects.t

This Bug broke a test in t/db_dependent/Koha/Objects.t. This patch replaces now
failing test with an equal one but targetting a different Koha-object.

To test:
1. Apply first & second patch in this Bug and run updatedatabase.pl
2. prove t/db_dependent/Koha/Objects.t
3. Observe following failure:
   DBIx::Class::ResultSet::find(): find() expects either a column/value
hashref,
   or a list of values corresponding to the columns of the specified unique
   constraint 'primary' at /home/koha/Koha/Koha/Objects.pm line 227
4. Apply this patch
5. prove t/db_dependent/Koha/Objects.t
6. Observe test passing

Followed test plan, patch worked as described
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>

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


More information about the Koha-bugs mailing list