def METHOD_NAME(event, user, user_login):
    get_owner(event, user)
    event.state = 'draft'
    assert str(event_query(Order.query, {'event_id': event.id})) == str(
        Order.query.join(Event).filter(Event.id == event.id)
    )
    assert str(event_query(Ticket.query, {'event_identifier': event.identifier})) == str(
        Ticket.query.join(Event).filter(Event.id == event.id)
    )