Skip to content

Commit

Permalink
base options are also by language
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger committed Feb 28, 2023
1 parent 907fccd commit 8bbb32f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/examples_dotnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestGcpContainerRegistryDotnet(t *testing.T) {
if project == "" {
t.Skipf("Skipping test due to missing GOOGLE_PROJECT environment variable")
}
test := getJsOptions(t).
test := getCsharpBaseOptions(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "container-registries/gcp/csharp"),
Config: map[string]string{
Expand Down
13 changes: 6 additions & 7 deletions examples/examples_go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,12 @@ func TestGcpContainerRegistryGo(t *testing.T) {
if project == "" {
t.Skipf("Skipping test due to missing GOOGLE_PROJECT environment variable")
}
test := getJsOptions(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "container-registries/gcp/go"),
Config: map[string]string{
"gcp:project": project,
},
})
test := base.With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "container-registries/gcp/go"),
Config: map[string]string{
"gcp:project": project,
},
})
integration.ProgramTest(t, &test)
}

Expand Down
2 changes: 1 addition & 1 deletion examples/examples_py_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestGcpContainerRegistryPy(t *testing.T) {
if project == "" {
t.Skipf("Skipping test due to missing GOOGLE_PROJECT environment variable")
}
test := getJsOptions(t).
test := getPyOptions(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "container-registries/gcp/py"),
Config: map[string]string{
Expand Down

0 comments on commit 8bbb32f

Please sign in to comment.