Skip to content

Commit b4dce11

Browse files
committed
update migration test for on demand subscription creation
1 parent 9cdb472 commit b4dce11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

osf_tests/management_commands/test_migrate_notifications.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def test_migrate_provider_subscription(self, users, provider, provider2):
105105
assert subs.filter(object_id=obj.id, content_type=content_type).exists()
106106

107107
def test_migrate_node_subscription(self, users, user, node):
108-
self.create_legacy_sub('file_updated', users, user=user, node=node)
109108
migrate_legacy_notification_subscriptions()
110109
nt = NotificationType.objects.get(name=NotificationType.Type.NODE_FILE_UPDATED)
111110
assert nt.object_content_type == ContentType.objects.get_for_model(Node)

0 commit comments

Comments
 (0)