Skip to content

Commit

Permalink
Updated history test to reflect changes to the response data
Browse files Browse the repository at this point in the history
  • Loading branch information
krak3n committed Mar 27, 2015
1 parent 7925b9a commit ea81595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/views/player/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ def should_return_latest_entries(self):

assert response.status_code == 200
assert len(response.json) == 2
assert entries[0].track.id == response.json[1]['id']
assert entries[1].track.id == response.json[0]['id']
assert entries[0].track.id == response.json[1]['track']['id']
assert entries[1].track.id == response.json[0]['track']['id']

0 comments on commit ea81595

Please sign in to comment.