Skip to content

Commit

Permalink
Remove revision mention from test
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 7, 2019
1 parent 6964f13 commit ea32312
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/tests/controllers/test_package.py
Expand Up @@ -664,7 +664,6 @@ def test_read_dataset_as_it_used_to_be_but_is_unmigrated(self):
modern_activity = model.Session.query(model.Activity) \
.filter_by(object_id=dataset['id']) \
.one()
revision_id = modern_activity.revision_id
modern_activity.delete()

# Create an Activity object as it was in earlier versions of CKAN.
Expand All @@ -676,7 +675,6 @@ def test_read_dataset_as_it_used_to_be_but_is_unmigrated(self):
activity = model.Activity(
user_id=user['id'],
object_id=dataset['id'],
revision_id=revision_id,
activity_type="%s package" % activity_type,
data={
# "actor": a legacy activity had no "actor"
Expand Down

0 comments on commit ea32312

Please sign in to comment.