Fix tests broken in #13173 (#13178)
Fix tests broken in #13173 (#13178)

I changed the error type returned in a situation but didn’t update the tests to expect that error.
hashicorp/consul,hashicorp/consul,hashicorp/consul,hashicorp/consul