def METHOD_NAME(admin, feeder):
    """Test to ensure API secret is not leaked during update."""
    res = admin.put(
        "/api/v1/feeders/%s" % feeder["id"],
        data={"name": "newname"},
        headers={"If-match": feeder["etag"]},
    )
    assert res.status_code == 200
    assert "api_secret" not in res.data["feeder"]