Skip to content

Commit

Permalink
[#2939] Sean's dashboard test shim - Thanks sean
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Dec 12, 2012
1 parent 15eb468 commit 072ba81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ckan/tests/functional/api/test_dashboard.py
Expand Up @@ -246,10 +246,10 @@ def test_04_activities_from_followed_groups(self):

# Make someone that the user is not following update a group that the
# user is following.
params = json.dumps({'id': 'roger', 'description': 'updated'})
response = self.app.post('/api/action/group_update', params=params,
extra_environ={'Authorization': str(self.testsysadmin['apikey'])})
assert response.json['success'] is True
group = self.post('group_show', {'id': 'roger'},
apikey=self.testsysadmin['apikey'])
group['description'] = 'updated'
self.post('group_update', group, apikey=self.testsysadmin['apikey'])

# Check the new activity in new_user's dashboard.
activities = self.dashboard_activity_list(self.new_user)
Expand Down

0 comments on commit 072ba81

Please sign in to comment.