Bug 21610: Add tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Oct 2018 21:38:18 +0000 (18:38 -0300)
committerroot <root@665746303f3b>
Fri, 1 Feb 2019 20:19:54 +0000 (20:19 +0000)
commit9330deee558f553c357edf8eb1aa96bd40563087
treeef9fdb04808a7f9b3e82953f27ba8de362b2bac5
parent914f448fe1c1d5c01e3188a827a0d18ec3001b45
Bug 21610: Add tests

Adding few tests to Koha/Object.t in order to highlight what we are
trying to fix.

Note that Koha::ItemType->store was wrong for notforloan, the default
value should be null
    `notforloan` smallint(6) DEFAULT NULL,
but the previous fix (bug 21599) made it default to '0'

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/Object.t