mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-21 06:12:38 +08:00

Found during review of #2353, A revision would be stored before a restore which would result with a duplicate revision and the new summary would be assigned against the wrong content. This change saves the revison after restore and adds test to check the content and summary text.