[Koha-bugs] [Bug 12264] New: Tiny typo in t/db_dependent/Items.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 15 14:34:16 CEST 2014


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

            Bug ID: 12264
           Summary: Tiny typo in t/db_dependent/Items.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Test Suite
          Assignee: magnus at enger.priv.no
          Reporter: magnus at enger.priv.no
        QA Contact: gmcharlt at gmail.com

t/db_dependent/Items.t has these lines:

172     $schema->resultset('Systempreference')->update_or_create({ variable =>
'item-level_itypes', value => 0 });
173     ok( $item->effective_itemtype() eq 'BIB_LEVEL', '$item->itemtype()
returns biblioitem.itemtype when item-level_itypes is disabled' );
174
175     $schema->resultset('Systempreference')->update_or_create({ variable =>
'item-level_itypes', value => 1 });
176     ok( $item->effective_itemtype() eq 'ITEM_LEVEL', '$item->itemtype()
returns items.itype when item-level_itypes is disabled' );

I believe the last line should be "...when item-level_itypes is enabled". No
practical impact, but it might be confusing to someone at some time.

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


More information about the Koha-bugs mailing list