Skip to content

Commit

Permalink
Fix slot parameter in factories.create_placeholder()
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Dec 15, 2016
1 parent 4014e13 commit e3580cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent_contents/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def create_placeholder(page=None, slot=None):
if page is None:
page = create_page()

return Placeholder.objects.create_for_object(page, slot='field_slot1')
return Placeholder.objects.create_for_object(page, slot=slot or 'field_slot1')


def create_content_item(ContentItemModel, placeholder=None, sort_order=1, language_code=None, **item_kwargs):
Expand Down

0 comments on commit e3580cb

Please sign in to comment.