]> git.koha-community.org Git - koha.git/commit
Bug 22321: Add unit tests
authorLari Taskula <lari.taskula@hypernova.fi>
Mon, 14 Feb 2022 11:14:36 +0000 (11:14 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 20:33:16 +0000 (17:33 -0300)
commit794b2dd81ca9ca2c786044d8ef07c7d6e926e673
tree5663c10cc868b2cd66d12f1667069bfc4a742611
parent246658a04a04443f595b8b71e310ffd5d9b0aef5
Bug 22321: Add unit tests

To test:
1. prove t/db_dependent/Illrequests.t
2. Observe test failure

    1..3
    ok 1 - before change, original borrowernumber found
    not ok 2 - after change, changed borrowernumber found in holds
    #   Failed test 'after change, changed borrowernumber found in holds'
    #   at t/db_dependent/Illrequests.t line 167.
    #          got: '3786'
    #     expected: '3787'
    ok 3 - after change, changed borrowernumber found in illrequests
    # Looks like you failed 1 test of 3.
not ok 4 - store borrowernumber change also updates holds

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Illrequests.t