Function: setVaultStatus(address vaultAddress, VaultStatus _vaultStatus)
Sets a vault's status.
Inputs
vaultAddress
Control: Fully controlled.
Constraints: N/A.
Impact: This vault's status is updated.
_vaultStatus
Control: Fully controlled.
Constraints: N/A.
Impact: This is the new status that will be set.
Branches and code coverage (including function calls)
Intended branches
Should update the vault status correctly.
Negative behaviour
Should revert if called by a non--operator-admin role.