https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40169
Matt Blenkinsop <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #183927|0 |1 is obsolete| | --- Comment #13 from Matt Blenkinsop <[email protected]> --- Created attachment 184093 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184093&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 Signed-off-by: David Nind <[email protected]> Amended-by: Jonathan Druart Remove .only -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
