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,10 +77,12 @@ func TestStateList_noState(t *testing.T) {
p := testProvider()
ui := new(cli.MockUi)
c := &StateListCommand{
StateMeta: StateMeta{
Meta: Meta{
ContextOpts: testCtxConfig(p),
Ui: ui,
},
},
}
args := []string{}

View File

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

View File

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