I would bet few people know that the original North Carolina state constitution required that candidates for public office in the state had to believe in God, affirm the truth of the Protestant religion, and accept the divine authority of the entire Bible (source: King of Kings by James Baird).
That was amended at some point. Now, the state constitution states in Article VI, Section 8 that “any person who shall deny the being of Almighty God” is disqualified from public office in the state. The other verbiage noted above is not present.
All of this would seem to conflict with the part of the US Constitution that bars a religious test for public office. However, this originalist opinion on page 1660 suggests that provision was understood to apply to those serving in public office within the federal government only, not to the individual states.
Obviously, the religious test provision in the North Carolina state constitution is not enforced. If it were, there would be howls of outrage.
But it really should be.