]> git.koha-community.org Git - koha.git/commit
Bug 21610: Add tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Oct 2018 21:38:18 +0000 (18:38 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 Feb 2019 11:12:05 +0000 (11:12 +0000)
commit0582bd25d885f49073bc4c84e087f1cfc5354287
tree5d677f464f46236a02661e24ef6f840a6bdebadb
parent574c89ef49fdb573d89cca4b28a74a65adb18132
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>
(cherry picked from commit 9330deee558f553c357edf8eb1aa96bd40563087)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/Object.t