diff --git a/command/state_list_test.go b/command/state_list_test.go index f2c85e26f..b439592e9 100644 --- a/command/state_list_test.go +++ b/command/state_list_test.go @@ -77,9 +77,11 @@ func TestStateList_noState(t *testing.T) { p := testProvider() ui := new(cli.MockUi) c := &StateListCommand{ - Meta: Meta{ - ContextOpts: testCtxConfig(p), - Ui: ui, + StateMeta: StateMeta{ + Meta: Meta{ + ContextOpts: testCtxConfig(p), + Ui: ui, + }, }, } diff --git a/command/state_mv_test.go b/command/state_mv_test.go index 9fff6ed12..e804b3529 100644 --- a/command/state_mv_test.go +++ b/command/state_mv_test.go @@ -532,9 +532,11 @@ func TestStateMv_stateOutNew_largeCount(t *testing.T) { p := testProvider() ui := new(cli.MockUi) c := &StateMvCommand{ - Meta: Meta{ - ContextOpts: testCtxConfig(p), - Ui: ui, + StateMeta: StateMeta{ + Meta: Meta{ + ContextOpts: testCtxConfig(p), + Ui: ui, + }, }, } @@ -613,9 +615,11 @@ func TestStateMv_stateOutNew_nestedModule(t *testing.T) { p := testProvider() ui := new(cli.MockUi) c := &StateMvCommand{ - Meta: Meta{ - ContextOpts: testCtxConfig(p), - Ui: ui, + StateMeta: StateMeta{ + Meta: Meta{ + ContextOpts: testCtxConfig(p), + Ui: ui, + }, }, } diff --git a/command/state_rm_test.go b/command/state_rm_test.go index 0c3eacb3a..178aa8c5d 100644 --- a/command/state_rm_test.go +++ b/command/state_rm_test.go @@ -150,9 +150,11 @@ func TestStateRm_noState(t *testing.T) { p := testProvider() ui := new(cli.MockUi) c := &StateRmCommand{ - Meta: Meta{ - ContextOpts: testCtxConfig(p), - Ui: ui, + StateMeta: StateMeta{ + Meta: Meta{ + ContextOpts: testCtxConfig(p), + Ui: ui, + }, }, }