Bug 20557: Prevent Koha/Acquisition/Order.t to fail randomly
commit33618eaec3eedf148a235d246e5ccc9ebc9ae7c3
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Apr 2018 16:08:43 +0000 (10 13:08 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Apr 2018 16:09:22 +0000 (10 13:09 -0300)
tree978f9a3b5f64080f8fd3daef3aeaec7408f5aa4d
parentb00d4d9e4697528fcad7ce911a02e2fdddcf1c58
Bug 20557: Prevent Koha/Acquisition/Order.t to fail randomly

https://jenkins.koha-community.org/job/Koha_Master_D8/427/consoleFull

t/db_dependent/Koha/Acquisition/Order.t .. 1/2         # No tests run!

    #   Failed test 'No tests run for subtest "entrydate"'
    #   at t/db_dependent/Koha/Acquisition/Order.t line 97.
    # Looks like you failed 1 test of 1.

 #   Failed test 'store'
 #   at t/db_dependent/Koha/Acquisition/Order.t line 99.
 Cannot insert order: Mandatory parameter quantity is missing at t/db_dependent/Koha/Acquisition/Order.t line 77.
 # Looks like your test exited with 255 just after 2.

It happens when basket.is_standing is 0

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Acquisition/Order.t