Function: acceptAuthorityRole()
This function is used to accept the authority role.
Branches and code coverage
Intended branches
Update the
_pendingAuthority
toauthority
.
Negative behavior
Revert if the caller is not the
_pendingAuthority
.