No civil action shall be commenced to test the validity of any election held by any county of this state for the purpose of issuing bonds unless the said civil action is commenced within 40 days from the date of the said election.
Ala. Code § 11-81-90 (1975)