def METHOD_NAME(client):
    project = f.create_project()
    f.MembershipFactory.create(project=project, user=project.owner, is_admin=True)
    totals_updated_datetime = project.totals_updated_datetime
    now = timezone.now()
    assert project.total_activity == 0
    now = timezone.now()
    totals_updated_datetime = project.totals_updated_datetime
    us = f.UserStoryFactory.create(project=project, owner=project.owner)
    l = f.LikeFactory.create(content_object=project)
    l.created_date=now-datetime.timedelta(days=13)
    l.save()
    l = f.LikeFactory.create(content_object=project)
    l.created_date=now-datetime.timedelta(days=33)
    l.save()
    l = f.LikeFactory.create(content_object=project)
    l.created_date=now-datetime.timedelta(days=633)
    l.save()
    project.refresh_totals()
    project = Project.objects.get(id=project.id)
    assert project.total_fans == 3
    assert project.total_fans_last_week == 0
    assert project.total_fans_last_month == 1
    assert project.total_fans_last_year == 2
    assert project.totals_updated_datetime > totals_updated_datetime
    client.login(project.owner)
    url_like = reverse("projects-like", args=(project.id,))
    response = client.post(url_like)
    project = Project.objects.get(id=project.id)
    assert project.total_fans == 4
    assert project.total_fans_last_week == 1
    assert project.total_fans_last_month == 2
    assert project.total_fans_last_year == 3
    assert project.totals_updated_datetime > totals_updated_datetime