]> git.koha-community.org Git - koha.git/commit
Bug 19775: Try & prevent Search/History.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Dec 2017 16:41:06 +0000 (13:41 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 14 Dec 2017 14:03:32 +0000 (14:03 +0000)
commit68a6d049869789618af1ddba9802b6d593593d09
treeb85dd986e14e6e9d4995c9397d6df0ff4fd5cd96
parenta48cf73e9aaaf8aaac9937734dfcdbbcd2fff631
Bug 19775: Try & prevent Search/History.t to fail randomly

 #   Failed test 'There are still 8 searches after calling delete with an interval = 6 days'
 #   at t/db_dependent/Search/History.t line 185.
 #          got: '6'
 #     expected: '8'

 #   Failed test 'There are still 2 searches after calling delete with an interval = 2 days'
 #   at t/db_dependent/Search/History.t line 191.
 #          got: '0'
 #     expected: '2'
 # Looks like you failed 2 tests of 27.
[15:04:12] t/db_dependent/Search/History.t

It looks like it does not longer fail with this change (date comparaison wrongly rounded to second in mysql?)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Search/History.t