Skip to content

Commit

Permalink
Merge pull request #97 from plone/distributions
Browse files Browse the repository at this point in the history
PloneFixture: explicitly install plone.app.contenttypes:default.
  • Loading branch information
mauritsvanrees authored Jul 26, 2024
2 parents 4ece427 + 89dfa1d commit 72970c7
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 72970c7

Please sign in to comment.