[Koha-bugs] [Bug 33054] New: Koha/Acquisition/Order.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 14:57:31 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33054

            Bug ID: 33054
           Summary: Koha/Acquisition/Order.t is failing randomly
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Koha_Master/2396

koha_1       |     #   Failed test 'The item is no longer present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 693.
koha_1       |     #          got: 'Koha::Item=HASH(0x5635919db9a8)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'No messages'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 696.
koha_1       |     #          got: '1'
koha_1       |     #     expected: '0'
koha_1       | 
koha_1       |     #   Failed test 'The item is no longer present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 728.
koha_1       |     #          got: 'Koha::Item=HASH(0x563591a190f0)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete biblio and it gets notified'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 732.
koha_1       |     #          got: 'error_delitem'
koha_1       |     #     expected: 'error_delbiblio_items'
koha_1       | 
koha_1       |     #   Failed test 'The item is no longer present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 776.
koha_1       |     #          got: 'Koha::Item=HASH(0x5635919db468)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete biblio and it gets notified'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 779.
koha_1       |     #          got: 'error_delitem'
koha_1       |     #     expected: 'error_delbiblio_active_orders'
koha_1       | 
koha_1       |     #   Failed test 'The item is no longer present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 820.
koha_1       |     #          got: 'Koha::Item=HASH(0x563591a450a0)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete biblio and it gets notified'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 823.
koha_1       |     #          got: 'error_delitem'
koha_1       |     #     expected: 'error_delbiblio_subscriptions'
koha_1       | 
koha_1       |     #   Failed test 'The item is not present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 853.
koha_1       |     #          got: 'Koha::Item=HASH(0x563591a16320)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'The biblio is not present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 854.
koha_1       |     #          got: 'Koha::Biblio=HASH(0x563591a69bd8)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'No errors'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 856.
koha_1       |     #          got: '2'
koha_1       |     #     expected: '0'
koha_1       | 
koha_1       |     #   Failed test 'The item is no longer present'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 905.
koha_1       |     #          got: 'Koha::Item=HASH(0x563591a7a1e8)'
koha_1       |     #     expected: undef
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete on loan item'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 910.
koha_1       |     #          got: '680'
koha_1       |     #     expected: '681'
koha_1       | 
koha_1       |     #   Failed test 'Item on loan notified'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 911.
koha_1       |     #          got: 'not_same_branch'
koha_1       |     #     expected: 'book_on_loan'
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete reserved and found item'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 913.
koha_1       |     #          got: '681'
koha_1       |     #     expected: '682'
koha_1       | 
koha_1       |     #   Failed test 'Item reserved notified'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 914.
koha_1       |     #          got: 'book_on_loan'
koha_1       |     #     expected: 'book_reserved'
koha_1       | 
koha_1       |     #   Failed test 'Cannot delete on loan item'
koha_1       |     #   at t/db_dependent/Koha/Acquisition/Order.t line 915.
koha_1       |     #          got: 'error_delitem'
koha_1       |     #     expected: 'error_delbiblio_items'
koha_1       |     # Looks like you planned 54 tests but ran 51.
koha_1       |     # Looks like you failed 17 tests of 51 run.
koha_1       | 
koha_1       | #   Failed test 'cancel() tests'
koha_1       | #   at t/db_dependent/Koha/Acquisition/Order.t line 940.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list