You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable history for Wiki and Workspace content type. (#466)
* Enable history for wiki and workspace'
* Add versioning tests for Workspace and Wiki Page content types
Move the Workspace and WikiPage FTI assertions out of the central
test_fti.py table into dedicated per-type test modules, following the
test_subsite.py pattern, and cover the new edit-time versioning:
- tests/content_types/test_workspace.py: new module with FTI, behavior,
creation and versioning tests.
- tests/content_types/test_wiki_page.py: reuse the shared portal_type /
container / payload / content_factory fixtures and add versioning
tests.
- tests/content_types/test_fti.py: drop the entries now covered by the
per-type modules.
Refs https://gitlab.kitconcept.io/kitconcept/distribution-kitconcept-intranet/-/issues/550
---------
Co-authored-by: Érico Andrei <andrei@kitconcept.com>
Enable edit-time versioning (`at_edit_autoversion` policy) for the `WikiPage` and `Workspace` content types so their history view records an entry for every edit. @iFlameing
0 commit comments