Skip to content

Commit

Permalink
Issue 542: Fix assert call method for db_instance_test
Browse files Browse the repository at this point in the history
  • Loading branch information
lotoussa committed May 25, 2021
1 parent 6bddc5e commit 1acee71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/resource/aws/aws_db_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudskiff/driftctl/test/acceptance"
)

func TestAcc_AwsDbInstance_WithCharacterSetName(t *testing.T) {
func TestAcc_AwsDbInstance(t *testing.T) {
acceptance.Run(t, acceptance.AccTestCase{
Paths: []string{"./testdata/acc/aws_db_instance"},
Args: []string{"scan", "--filter", "Type=='aws_db_instance'"},
Expand All @@ -17,8 +17,8 @@ func TestAcc_AwsDbInstance_WithCharacterSetName(t *testing.T) {
if err != nil {
t.Fatal(err)
}
result.AssertDriftCountTotal(0)
result.Equal(1, result.Summary().TotalManaged)
result.AssertInfrastructureIsInSync()
result.AssertManagedCount(1)
},
},
},
Expand Down

0 comments on commit 1acee71

Please sign in to comment.