Skip to content

Commit

Permalink
add assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenolivia committed Aug 5, 2022
1 parent f9669b1 commit fee64a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions state_version_integration_test.go
Expand Up @@ -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) {
Expand Down

0 comments on commit fee64a9

Please sign in to comment.