cli: update tests

This commit is contained in:
Kristin Laemmert 2018-06-26 11:57:52 -07:00
parent e2373c8073
commit 33877bd579

View File

@ -247,11 +247,12 @@ func TestOutput_emptyOutputsErr(t *testing.T) {
statePath := testStateFile(t, originalState)
p := testProvider()
ui := new(cli.MockUi)
c := &OutputCommand{
Meta: Meta{
ContextOpts: testCtxConfig(testProvider()),
Ui: ui,
testingOverrides: metaOverridesForProvider(p),
Ui: ui,
},
}
@ -275,11 +276,12 @@ func TestOutput_jsonEmptyOutputs(t *testing.T) {
statePath := testStateFile(t, originalState)
p := testProvider()
ui := new(cli.MockUi)
c := &OutputCommand{
Meta: Meta{
ContextOpts: testCtxConfig(testProvider()),
Ui: ui,
testingOverrides: metaOverridesForProvider(p),
Ui: ui,
},
}