]> git.koha-community.org Git - koha.git/commit
Bug 31051: Fix test
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 23 Feb 2023 08:12:04 +0000 (09:12 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Feb 2023 11:07:19 +0000 (08:07 -0300)
commitd74ce48b7490eafd427b0abc378260d58323bf6d
treef67cf25b0b642d54ccf814a0e0a05e8a0531e04c
parente7d40b7a99c6ad8df8f91307560bb6021143c73f
Bug 31051: Fix test

When savings ends with a "0"

koha_1       |     #   Failed test 'Savings correctly calculated from current issues'
koha_1       |     #   at t/db_dependent/Koha/Patron.t line 1380.
koha_1       |     #          got: '34583.70'
koha_1       |     #     expected: '34583.7'
koha_1       |
koha_1       |     #   Failed test 'Savings correctly calculated from current and old issues'
koha_1       |     #   at t/db_dependent/Koha/Patron.t line 1385.
koha_1       |     #          got: '34583.70'
koha_1       |     #     expected: '34583.7'
koha_1       |     # Looks like you failed 2 tests of 4.
koha_1       |
koha_1       | #   Failed test 'get_savings tests'
koha_1       | #   at t/db_dependent/Koha/Patron.t line 1388.
koha_1       | # Looks like you failed 1 test of 20.
koha_1       | [00:07:57] t/db_dependent/Koha/Patron.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Patron.t