Fix api/controller/legacy_test unit test failure
Fix api/controller/legacy_test unit test failure

mjs/juju,alesstimec/juju,alesstimec/juju,bac/juju,anastasiamac/juju,bac/juju,mikemccracken/juju,ericsnowcurrently/juju,anastasiamac/juju,bac/juju,anastasiamac/juju,ericsnowcurrently/juju,ericsnowcurrently/juju,ericsnowcurrently/juju,marcmolla/juju,alesstimec/juju,bac/juju,bac/juju,marcmolla/juju,mikemccracken/juju,mjs/juju,mikemccracken/juju,marcmolla/juju,waigani/juju,mjs/juju,waigani/juju,mjs/juju,mikemccracken/juju,waigani/juju,waigani/juju,mikemccracken/juju,mjs/juju,ericsnowcurrently/juju,anastasiamac/juju,mjs/juju,alesstimec/juju,marcmolla/juju,marcmolla/juju,anastasiamac/juju,mjs/juju,alesstimec/juju