Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyang628 committed Feb 8, 2025
1 parent 810a7dd commit 8744ed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/services/category_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def test_get_category_by_id_with_none(app, mock_db, mock_category_service):
with app.app_context():
# Arrange
category_id = None
mock_db.fetchone.return_value = None

# Act
result = mock_category_service.get_category_by_id(category_id)
Expand Down

0 comments on commit 8744ed0

Please sign in to comment.