def METHOD_NAME(test_client, db_session, auth_headers):
    tsf_updated = MineTailingsStorageFacilityFactory()
    data = {
        'mine_tailings_storage_facility_name': tsf_updated.mine_tailings_storage_facility_name,
        'latitude': tsf_updated.latitude,
        'longitude': tsf_updated.longitude,
        'consequence_classification_status_code':
            tsf_updated.consequence_classification_status_code,
        'itrb_exemption_status_code': tsf_updated.itrb_exemption_status_code,
        'tsf_operating_status_code': tsf_updated.tsf_operating_status_code,
        'notes': tsf_updated.notes,
        'storage_location': 'above_ground',
        'facility_type': 'tailings_storage_facility',
        'tailings_storage_facility_type': 'pit',
        'mines_act_permit_no': 'xxx',
    }
    put_resp = test_client.put(
        f'/mines/{uuid.uuid4()}/tailings/{uuid.uuid4()}',
        data=data,
        headers=auth_headers['full_auth_header'])
    put_data = json.loads(put_resp.data.decode())
    assert put_resp.status_code == 404