def METHOD_NAME(self):
    self.org = self.create_organization(name="Rowdy Tiger")
    user = self.create_user()
    group = self.create_group(status=GroupStatus.UNRESOLVED)
    repo = self.create_repo(self.project, name="organization-bar")
    pr = PullRequest.objects.create(
        organization_id=self.org.id,
        repository_id=repo.id,
        key=5,
        title="aaaa",
        message="kartoffel",
    )
    activity = Activity.objects.create(
        project_id=group.project_id,
        group=group,
        type=ActivityType.SET_RESOLVED_IN_PULL_REQUEST.value,
        ident=pr.id,
        user_id=user.id,
        data={"pull_request": pr.id},
    )
    result = serialize([activity], user)[0]["data"]
    pull_request = result["pullRequest"]
    assert pull_request["repository"]["name"] == "organization-bar"
    assert pull_request["message"] == "kartoffel"