Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
asamisellah committed Aug 16, 2018
1 parent 7925de0 commit 9cbef98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion authors/apps/articles/tests/test_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def test_filter_by_author(self):
# Login test user and return authorization token.
auth_author = self.login_user(self.author)
article = self.create_article() # create article
res = self.client.get('/api/articles?author__id=2',

res = self.client.get(f'/api/articles?author__id={author.id}',
format='json'
)
response = json.loads(res.content)
Expand Down

0 comments on commit 9cbef98

Please sign in to comment.