Bug 18651: Fix tests if no circ rule exist
commitc3fb7e80a9f38b6714b5c27660add9f9a47c805d
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Jun 2017 14:05:59 +0000 (21 11:05 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Jun 2017 07:43:17 +0000 (22 09:43 +0200)
treed5be21f142ad6c9801aa42e0c852b72ab2b97bdb
parent845a41b2bab1b9d85221143cf59c9b58ff5a810b
Bug 18651: Fix tests if no circ rule exist

The following test is failing on Jenkins:
 # Subtest: Handle ids duplication
    1..4
    ok 1 - No account lines should exist on old issue_id
    not ok 2 - Two account lines should exist on new issue_id
    ok 3 - AddReturn should return the issue with the new issue_id
    ok 4 - If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table
not ok 4 - Handle ids duplication

When no circ rule exist

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 66f435149a8f2e116070ed28c34bdd5cd627a30f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation/Returns.t