From fee64a9950d26f7fd5a5fb029daa14687044d064 Mon Sep 17 00:00:00 2001 From: Lauren Date: Fri, 5 Aug 2022 15:22:33 -0400 Subject: [PATCH] add assertions --- state_version_integration_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/state_version_integration_test.go b/state_version_integration_test.go index a37ea99d7..09b6144cb 100644 --- a/state_version_integration_test.go +++ b/state_version_integration_test.go @@ -333,6 +333,12 @@ func TestStateVersionsRead(t *testing.T) { sv.Outputs = nil assert.Equal(t, svTest, sv) + assert.NotEmpty(t, svTest, svTest.ResourcesProcessed) + assert.NotEmpty(t, svTest, svTest.StateVersion) + assert.NotEmpty(t, svTest, svTest.TerraformVersion) + assert.NotEmpty(t, svTest, svTest.Modules) + assert.NotEmpty(t, svTest, svTest.Providers) + assert.NotEmpty(t, svTest, svTest.Resources) }) t.Run("when the state version does not exist", func(t *testing.T) {