Skip to content

Commit

Permalink
Merge branch 'master' of github.com:plone/plone.restapi
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Apr 18, 2023
2 parents f0f438c + 814b701 commit 730e76f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/plone/restapi/tests/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,14 @@ def step_setup_content(context):
publish(folder10np[f"doc{i}"])

# Collection
portal.invokeFactory("Collection", id="collection", title="Collection")
query = [
{
"i": "portal_type",
"o": "plone.app.querystring.operation.string.is",
"v": ["Document"],
}
]
portal.invokeFactory("Collection", id="collection", title="Collection", query=query)
set_description(portal.collection)
set_text(portal.collection)
publish(portal.collection)
Expand Down

0 comments on commit 730e76f

Please sign in to comment.