def METHOD_NAME(self):
    self.org = self.create_organization(name="komal-test")
    project = self.create_project(name="random-proj")
    user = self.create_user()
    repo = self.create_repo(self.project, name="idk-repo")
    group = self.create_group(project)
    commit = Commit.objects.create(organization_id=self.org.id, repository_id=repo.id)
    Activity.objects.create(
        project_id=project.id,
        group=group,
        type=ActivityType.SET_RESOLVED_IN_COMMIT.value,
        ident=commit.id,
        user_id=user.id,
        data={"commit": commit.id},
    )
    act = Activity.objects.get(type=ActivityType.SET_RESOLVED_IN_COMMIT.value)
    serialized = serialize(act)
    assert len(serialized["data"]["commit"]["releases"]) == 0
    assert not Commit.objects.filter(releasecommit__id=commit.id).exists()