Test t/db_dependent/SIP/Message.t generates a Branch via TestBuilder outside $schema->storage->txn_begin and it stays in database when test is over. Move generation inside transaction so that it gets rolled back.
Created attachment 65198 [details] [review] Bug 18977: Rollback branch in t/db_dependent/SIP/Message.t To test: 1. Before applying patch, check the amount of branches in database 2. prove t/db_dependent/SIP/Message.t 3. See that a new branch is stored 4. Apply patch 5. prove t/db_dependent/SIP/Message.t 6. See that a new branch is no longer stored
Created attachment 65283 [details] [review] Bug 18977: Rollback branch in t/db_dependent/SIP/Message.t To test: 1. Before applying patch, check the amount of branches in database 2. prove t/db_dependent/SIP/Message.t 3. See that a new branch is stored 4. Apply patch 5. prove t/db_dependent/SIP/Message.t 6. See that a new branch is no longer stored Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Skipping QA, it will fixes selenium tests.
Pushed to master for 17.11, thanks Lari!
Pushed to 17.05.x, will be in 17.05.03. In order to correct selenium test failures.
This patch has been pushed to 16.11.x and will be in 16.11.11.