Skip to content

Commit

Permalink
Fix api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shydefoo committed May 15, 2024
1 parent 0a4e06b commit 300c4de
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions api/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ func TestLoad(t *testing.T) {
"EmptyStream": {},
},
UI: &config.UIConfig{
StaticPath: "ui/build",
IndexPath: "index.html",
StaticPath: "ui/build",
IndexPath: "index.html",
AllowCustomTeam: true,
AllowCustomStream: true,
},
DefaultSecretStorage: &config.SecretStorage{
Name: "default-secret-storage",
Expand Down Expand Up @@ -142,8 +144,10 @@ func TestLoad(t *testing.T) {
"EmptyStream": {},
},
UI: &config.UIConfig{
StaticPath: "ui/build",
IndexPath: "index.html",
StaticPath: "ui/build",
IndexPath: "index.html",
AllowCustomTeam: true,
AllowCustomStream: true,
},
DefaultSecretStorage: &config.SecretStorage{
Name: "default-secret-storage",
Expand Down Expand Up @@ -240,6 +244,8 @@ func TestLoad(t *testing.T) {

ClockworkUIHomepage: "http://clockwork.dev",
KubeflowUIHomepage: "http://kubeflow.org",
AllowCustomTeam: true,
AllowCustomStream: true,
},
DefaultSecretStorage: &config.SecretStorage{
Name: "default-secret-storage",
Expand Down

0 comments on commit 300c4de

Please sign in to comment.