mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:02:38 +08:00

The leak was introduced in #11722 and a test was added that relied on it in #14563 This PR fixes the leak (bookmarks-test), fixes the test that relied on it (fast-edit-test), and repleces some ad-hoc code with cloneJSON helper (other files)