fix cron test error in lint