Skip to content

Commit

Permalink
[#2930] Test fixes fn/package
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 5, 2012
1 parent 9857a67 commit b65fa1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/tests/functional/test_package.py
Expand Up @@ -787,7 +787,7 @@ def test_edit_all_fields(self):

# Edit it
offset = url_for(controller='package', action='edit', id=pkg.name)
res = self.app.get(offset, status=200, extra_environ={'REMOTE_USER':'testadmin'})
res = self.app.get(offset, status=200, extra_environ={'REMOTE_USER':'testsysadmin'})
assert 'Edit - Datasets' in res, res

# Check form is correctly filled
Expand Down Expand Up @@ -1377,7 +1377,7 @@ def test_read(self):

def test_read_as_admin(self):
offset = url_for(controller='package', action='read', id=self.non_active_name)
res = self.app.get(offset, status=200, extra_environ={'REMOTE_USER':'joeadmin'})
res = self.app.get(offset, status=200, extra_environ={'REMOTE_USER':'testsysadmin'})


class TestRevisions(TestPackageBase):
Expand Down

0 comments on commit b65fa1f

Please sign in to comment.