Open Heatmap: update plugin snapshot testdata (#50747)

pull/50717/head^2
Ryan McKinley 3 years ago committed by GitHub
parent 262ee5219e
commit c5547fde59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkg/tests/api/plugins/api_plugins_test.go
  2. 1634
      pkg/tests/api/plugins/data/expectedListResp.json

@ -95,7 +95,11 @@ func TestPlugins(t *testing.T) {
if !same {
if updateSnapshotFlag {
t.Log("updating snapshot results")
updateRespSnapshot(t, tc.expRespPath, string(b))
var prettyJSON bytes.Buffer
if err := json.Indent(&prettyJSON, b, "", " "); err != nil {
t.FailNow()
}
updateRespSnapshot(t, tc.expRespPath, prettyJSON.String())
}
t.FailNow()
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save