Skip to content

Commit

Permalink
[#2939] Fix tests due to creation rights issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 29, 2012
1 parent 0429cb9 commit 2a756aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/functional/api/test_dashboard.py
Expand Up @@ -23,7 +23,7 @@ def user_create(cls):
'password': 'iammrnew',
})
response = cls.app.post('/api/action/user_create', params=params,
extra_environ={'Authorization': str(cls.joeadmin['apikey'])})
extra_environ={'Authorization': str(cls.testsysadmin['apikey'])})
assert response.json['success'] is True
new_user = response.json['result']
return new_user
Expand Down

0 comments on commit 2a756aa

Please sign in to comment.