test: fix a test case about strict mode

main
sundowndev 2021-05-10 15:50:57 +02:00
parent 0232696ace
commit b22e6fa11f
1 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@ func TestDriftctlRun_BasicBehavior(t *testing.T) {
assert: func(result *test.ScanResult, err error) { assert: func(result *test.ScanResult, err error) {
result.NotZero(result.Duration) result.NotZero(result.Duration)
}, },
options: &pkg.ScanOptions{},
}, },
{ {
name: "infrastructure should be in sync", name: "infrastructure should be in sync",
@ -314,7 +315,7 @@ func TestDriftctlRun_BasicBehavior(t *testing.T) {
}, },
assert: func(result *test.ScanResult, err error) { assert: func(result *test.ScanResult, err error) {
result.AssertManagedCount(2) result.AssertManagedCount(2)
result.AssertUnmanagedCount(1) result.AssertUnmanagedCount(2)
result.AssertDeletedCount(0) result.AssertDeletedCount(0)
result.AssertDriftCountTotal(0) result.AssertDriftCountTotal(0)
}, },