Skip to content

Commit

Permalink
[#2939] tests expect 409 not 403
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 15, 2012
1 parent 0f525d4 commit 99ac4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/tests/logic/test_auth.py
Expand Up @@ -160,8 +160,8 @@ def test_8_editor_update_datasets(self):

# editor tries to change owner org
dataset = {'id': 'editor_dataset', 'owner_org': 'org_no_user'}
res = self._action_post('package_update', dataset, 'editor', 403)
res = self._action_post('package_update', dataset, 'editor', 409)

#non existant owner org
dataset = {'id': 'admin_dataset', 'owner_org': 'org_not_exist' }
res = self._action_post('package_update', dataset, 'editor', 403)
res = self._action_post('package_update', dataset, 'editor', 409)

0 comments on commit 99ac4d7

Please sign in to comment.