Skip to content

Commit

Permalink
🐛Fix: 통계 테스트 코드에 username 추가 #9
Browse files Browse the repository at this point in the history
- username 필드가 추가가 안돼서 username을 추가해줬습니다.
Related to #9
  • Loading branch information
JaeHyuckSa committed Oct 27, 2023
1 parent ec5493e commit 70c494f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posts/tests/views/test_statics_list_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def setUpTestData(cls):
cls.users = User.objects.create_user(
email=f"user{i}@example.com",
password="testpassword",
username=f"testuser{i}",
)
cls.posts = Post.objects.create(
post_type="facebook",
Expand Down

0 comments on commit 70c494f

Please sign in to comment.