We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d4a77 commit 8c4dc97Copy full SHA for 8c4dc97
blog/test_helpers.py
@@ -25,4 +25,4 @@ def create_random_category(db: AsyncSession) -> Category:
25
title = random_lower_string()
26
description = random_lower_string()
27
obj_in = CreateCategory(title=title, description=description, id=id)
28
- return post.create(db=db, obj_in=obj_in)
+ return category.create(db=db, obj_in=obj_in)
0 commit comments