mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-06 10:05:12 +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.