diff --git a/command/state_push_test.go b/command/state_push_test.go
index <HASH>..<HASH> 100644
--- a/command/state_push_test.go
+++ b/command/state_push_test.go
@@ -116,7 +116,7 @@ func TestStatePush_lineageMismatch(t *testing.T) {
 	expected := testStateRead(t, "local-state.tfstate")
 
 	p := testProvider()
-	ui := new(cli.MockUi)
+	ui := cli.NewMockUi()
 	c := &StatePushCommand{
 		Meta: Meta{
 			testingOverrides: metaOverridesForProvider(p),
command: fix panic in TestStatePush_lineageMismatch

This test is currently failing due to the command completing successfully,
which would previously cause a panic because we didn't properly initialize
the MockUi and so its error buffer is nil unless written to.

(The failure this was masking will be fixed in a subsequent commit.)