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