Skip to content

Commit

Permalink
PloneFixture: explicitly install plone.app.contenttypes:default.
Browse files Browse the repository at this point in the history
The `addPloneSite` factory in Plone 6.1 no longer installs this by default.
See plone/Products.CMFPlone#3961
  • Loading branch information
mauritsvanrees committed Jun 19, 2024
1 parent 001ad2c commit 89dfa1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions news/3961.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PloneFixture: explicitly install plone.app.contenttypes:default.
The `addPloneSite` factory in Plone 6.1 no longer installs this by default.
[maurits]

5 changes: 4 additions & 1 deletion src/plone/app/testing/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ class PloneFixture(Layer):
)

# Extension profiles to be installed with site setup
extensionProfiles = ("plonetheme.barceloneta:default",)
extensionProfiles = (
"plone.app.contenttypes:default",
"plonetheme.barceloneta:default",
)

# Layer lifecycle

Expand Down

0 comments on commit 89dfa1d

Please sign in to comment.