Skip to content

Commit 76923f2

Browse files
INVS-2114: fix test - add the GET match list parameter to translate column names
1 parent f4add7c commit 76923f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sumologic/resource_sumologic_cse_match_list_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func testCheckCSEMatchListExists(n string, matchList *CSEMatchListGet) resource.
148148
}
149149
c := testAccProvider.Meta().(*Client)
150150

151-
matchListResp, err := c.GetCSEMatchList(rs.Primary.ID, false)
151+
matchListResp, err := c.GetCSEMatchList(rs.Primary.ID, true)
152152
if err != nil {
153153
return err
154154
}
@@ -171,7 +171,7 @@ func testCheckMatchListValues(matchList *CSEMatchListGet, nDefaultTtl int, nDesc
171171
return fmt.Errorf("bad name, expected \"%s\", got: \"%s\"", nName, matchList.Name)
172172
}
173173
if matchList.TargetColumn != nTargetColumn {
174-
return fmt.Errorf("bad target column, expected \"%s\", got: \"%s\"", nName, matchList.Name)
174+
return fmt.Errorf("bad target column, expected \"%s\", got: \"%s\"", nTargetColumn, matchList.TargetColumn)
175175
}
176176

177177
return nil

0 commit comments

Comments
 (0)