fix rebased tests

This commit is contained in:
James Bardin 2017-02-28 16:30:55 -05:00
parent 6c3800d17f
commit dc675540de
3 changed files with 20 additions and 12 deletions

View File

@ -77,9 +77,11 @@ func TestStateList_noState(t *testing.T) {
p := testProvider() p := testProvider()
ui := new(cli.MockUi) ui := new(cli.MockUi)
c := &StateListCommand{ c := &StateListCommand{
Meta: Meta{ StateMeta: StateMeta{
ContextOpts: testCtxConfig(p), Meta: Meta{
Ui: ui, ContextOpts: testCtxConfig(p),
Ui: ui,
},
}, },
} }

View File

@ -532,9 +532,11 @@ func TestStateMv_stateOutNew_largeCount(t *testing.T) {
p := testProvider() p := testProvider()
ui := new(cli.MockUi) ui := new(cli.MockUi)
c := &StateMvCommand{ c := &StateMvCommand{
Meta: Meta{ StateMeta: StateMeta{
ContextOpts: testCtxConfig(p), Meta: Meta{
Ui: ui, ContextOpts: testCtxConfig(p),
Ui: ui,
},
}, },
} }
@ -613,9 +615,11 @@ func TestStateMv_stateOutNew_nestedModule(t *testing.T) {
p := testProvider() p := testProvider()
ui := new(cli.MockUi) ui := new(cli.MockUi)
c := &StateMvCommand{ c := &StateMvCommand{
Meta: Meta{ StateMeta: StateMeta{
ContextOpts: testCtxConfig(p), Meta: Meta{
Ui: ui, ContextOpts: testCtxConfig(p),
Ui: ui,
},
}, },
} }

View File

@ -150,9 +150,11 @@ func TestStateRm_noState(t *testing.T) {
p := testProvider() p := testProvider()
ui := new(cli.MockUi) ui := new(cli.MockUi)
c := &StateRmCommand{ c := &StateRmCommand{
Meta: Meta{ StateMeta: StateMeta{
ContextOpts: testCtxConfig(p), Meta: Meta{
Ui: ui, ContextOpts: testCtxConfig(p),
Ui: ui,
},
}, },
} }