Skip to content

Commit

Permalink
Fix a test that was broken by commit a7e49d0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Feb 5, 2012
1 parent f398bef commit 1c03f5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/tests/lib/test_dictization.py
Expand Up @@ -986,7 +986,8 @@ def test_20_activity_save(self):

# Retrieve the newest Activity object from the database, check that its
# attributes match those of the dict we saved.
got = ckan.logic.action.get.user_activity_list(context, {'id': user.id})[-1]
got = ckan.logic.action.get.user_activity_list(context,
{'id': user.id})[0]
assert got['user_id'] == sent['user_id']
assert got['object_id'] == sent['object_id']
assert got['revision_id'] == sent['revision_id']
Expand Down

0 comments on commit 1c03f5b

Please sign in to comment.