38
37
func NewCreateModelCommandForTest(
40
39
store jujuclient.ClientStore,
42
41
) (cmd.Command, *CreateModelCommand) {
43
42
c := &createModelCommand{
48
47
return modelcmd.WrapController(c), &CreateModelCommand{c}
52
51
// and userCreds provided as specified.
53
func NewListModelsCommandForTest(modelAPI ModelManagerAPI, sysAPI ModelsSysAPI, store jujuclient.ClientStore, userCreds *configstore.APICredentials) cmd.Command {
52
func NewListModelsCommandForTest(modelAPI ModelManagerAPI, sysAPI ModelsSysAPI, store jujuclient.ClientStore) cmd.Command {
60
58
return modelcmd.WrapController(c)