This is what Gill says about Revelation 2:2
And how thou canst not bear them that are evil; that were so either in their principles or in their practices, or both; men that lived immoral lives, and held erroneous doctrines, these the primitive ministers and churches could not bear; they had an inward abhorrence and detestation of them in their minds; they could not bear them in communion with them; they admonished them according to the nature of their offence, and cast out such as were obstinate and incorrigible; they withdrew from such as were disorderly, and rejected heretics after the first and second admonition; their zeal for church discipline is here taken notice of to their commendation,
And thou hast tried them which say they are apostles, and are not,
and hast found them liars; this doubtless was done in the church at Ephesus, where, after the Apostle Paul's departure, grievous wolves, in sheep's clothing, entered, and men arose from among themselves, speaking perverse things, Acts 20:29; yet it was not peculiar to that church, though it was to the apostolic age; for in no other could men with any face pretend to be the apostles of Christ; and such there were, who sprung up in the several churches at Jerusalem, Corinth, Galatia, and elsewhere, who called themselves the apostles of Christ, but were false apostles, deceitful workers; they pretended to have their doctrine, call, mission, and commission, immediately from Christ, as the true apostles had, and a power to work miracles, and talked of inspirations and revelations by the Spirit of God. Now the apostles, ministers, and churches of those times, tried their pretensions and doctrines by the word of God, and by the fruits which they produced in themselves and others; and through that discerning of spirits which they had, they found them to be liars; that they were not, nor had they what they pretended to be, and have, and exposed them as such.
And how thou canst not bear them that are evil; that were so either in their principles or in their practices, or both; men that lived immoral lives, and held erroneous doctrines, these the primitive ministers and churches could not bear; they had an inward abhorrence and detestation of them in their minds; they could not bear them in communion with them; they admonished them according to the nature of their offence, and cast out such as were obstinate and incorrigible; they withdrew from such as were disorderly, and rejected heretics after the first and second admonition; their zeal for church discipline is here taken notice of to their commendation,
And thou hast tried them which say they are apostles, and are not,
and hast found them liars; this doubtless was done in the church at Ephesus, where, after the Apostle Paul's departure, grievous wolves, in sheep's clothing, entered, and men arose from among themselves, speaking perverse things, Acts 20:29; yet it was not peculiar to that church, though it was to the apostolic age; for in no other could men with any face pretend to be the apostles of Christ; and such there were, who sprung up in the several churches at Jerusalem, Corinth, Galatia, and elsewhere, who called themselves the apostles of Christ, but were false apostles, deceitful workers; they pretended to have their doctrine, call, mission, and commission, immediately from Christ, as the true apostles had, and a power to work miracles, and talked of inspirations and revelations by the Spirit of God. Now the apostles, ministers, and churches of those times, tried their pretensions and doctrines by the word of God, and by the fruits which they produced in themselves and others; and through that discerning of spirits which they had, they found them to be liars; that they were not, nor had they what they pretended to be, and have, and exposed them as such.