Skip to content

Commit c975930

Browse files
authored
test(internal/postprocessor): remove bad expectations from config test (googleapis#13039)
This test made assertions about specific API configs present in the config file, and those assertions are now invalid now that librarian migrations have started removing configs from the postprocessor. This test removes those bad expectations fixes: googleapis#13034
1 parent 4750d78 commit c975930

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

internal/postprocessor/config_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,6 @@ func TestLoadConfig(t *testing.T) {
2525
t.Fatal(err)
2626
}
2727

28-
li := p.config.GoogleapisToImportPath["google/cloud/alloydb/connectors/v1"]
29-
if got, want := li.ImportPath, "cloud.google.com/go/alloydb/connectors/apiv1"; got != want {
30-
t.Errorf("got %v, want %v", got, want)
31-
}
32-
if got, want := li.ServiceConfig, "connectors_v1.yaml"; got != want {
33-
t.Errorf("got %v, want %v", got, want)
34-
}
35-
if got, want := li.RelPath, "/alloydb/connectors/apiv1"; got != want {
36-
t.Errorf("got %v, want %v", got, want)
37-
}
38-
if got, want := li.ReleaseLevel, "preview"; got != want {
39-
t.Errorf("got %v, want %v", got, want)
40-
}
41-
4228
wantSkipPath := "bigquery/v2"
4329
found := false
4430
for _, p := range p.config.SkipModuleScanPaths {

0 commit comments

Comments
 (0)