Skip to content

Commit

Permalink
Update test assertions
Browse files Browse the repository at this point in the history
Using an explicit provider now, so resource counts
drop by one on these tests
  • Loading branch information
lblackstone committed Feb 7, 2020
1 parent cf200e3 commit 605a4eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/aliases/aliases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestAliases(t *testing.T) {
Quick: true,
ExtraRuntimeValidation: func(t *testing.T, stackInfo integration.RuntimeValidationStackInfo) {
assert.NotNil(t, stackInfo.Deployment)
assert.Equal(t, 5, len(stackInfo.Deployment.Resources))
assert.Equal(t, 4, len(stackInfo.Deployment.Resources))

tests.SortResourcesByURN(stackInfo)

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/yaml-url/yaml_url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestYAMLURL(t *testing.T) {
assert.NotNil(t, stackInfo.Deployment)

// Assert that we've retrieved the YAML from the URL and provisioned them.
assert.Equal(t, 19, len(stackInfo.Deployment.Resources))
assert.Equal(t, 18, len(stackInfo.Deployment.Resources))
},
})
}

0 comments on commit 605a4eb

Please sign in to comment.