def METHOD_NAME(db, test_client, outlook_account):
    calendar = Calendar(
        name="Calendar",
        uid="uid",
        read_only=False,
        namespace_id=outlook_account.namespace.id,
    )
    db.session.add(calendar)
    db.session.commit()
    assert calendar.webhook_last_ping is None
    response = test_client.post(
        f"/w/microsoft/calendar_update/{calendar.public_id}",
        json={
            "value": [
                {
                    "changeType": "updated",
                    "resourceData": {
                        "@odata.type": "#Microsoft.Graph.Event",
                        "id": "fake_id",
                    },
                    "clientState": "good_s3cr3t",
                }
            ]
        },
    )
    db.session.refresh(calendar)
    assert calendar.webhook_last_ping is not None
    assert response.status_code == 200