18 Jun
2025
18 Jun
'25
10:24 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40169 --- Comment #2 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 183351 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183351&action=edit Bug 40169: mockData - Do not replace _id if passed If we build an object and pass a primary key (ie. suffixed by _id) we should not replace it. Test plan: The test highlights the problem, it won't affect existing tests. 0. Apply only the first patch (Cypress tests) 1. Run yarn cypress run t/cypress/integration/t/mockData.ts => It fails 2. Apply this patch => It passes -- You are receiving this mail because: You are watching all bug changes.