def METHOD_NAME(
    user_api_client,
):
    customer_user = user_api_client.user
    customer_user.set_unusable_password()
    customer_user.save()
    new_password = "spanish-inquisition"
    variables = {"oldPassword": None, "newPassword": new_password}
    response = user_api_client.post_graphql(CHANGE_PASSWORD_MUTATION, variables)
    content = get_graphql_content(response)
    data = content["data"]["passwordChange"]
    assert not data["errors"]
    assert data["user"]["email"] == customer_user.email
    customer_user.refresh_from_db()
    assert customer_user.check_password(new_password)
    password_change_event = account_events.CustomerEvent.objects.get()
    assert password_change_event.type == account_events.CustomerEvents.PASSWORD_CHANGED
    assert password_change_event.user == customer_user