Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
andreykaipov committed Oct 24, 2024
1 parent 8cd04c1 commit a13fd34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/generate/tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func generateRequestTest(subclient, category string, structs map[string]StructFi
case "*string":
lit := ""
switch field {
case "ProfileName":
lit = "docker"
// case "ProfileName":
// lit = "docker"
case "Realm":
lit = "OBS_WEBSOCKET_DATA_REALM_GLOBAL"
case "MediaAction":
Expand Down
6 changes: 3 additions & 3 deletions zz_generated._test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Test_config(t *testing.T) {
client.Disconnect()
})

_, err = client.Config.CreateProfile(&config.CreateProfileParams{ProfileName: &[]string{"docker"}[0]})
_, err = client.Config.CreateProfile(&config.CreateProfileParams{ProfileName: &[]string{"test"}[0]})
if err != nil {
t.Logf("%s", err)
}
Expand Down Expand Up @@ -89,7 +89,7 @@ func Test_config(t *testing.T) {
t.Logf("%s", err)
}
assert.NoError(t, err)
_, err = client.Config.SetCurrentProfile(&config.SetCurrentProfileParams{ProfileName: &[]string{"docker"}[0]})
_, err = client.Config.SetCurrentProfile(&config.SetCurrentProfileParams{ProfileName: &[]string{"test"}[0]})
if err != nil {
t.Logf("%s", err)
}
Expand Down Expand Up @@ -144,7 +144,7 @@ func Test_config(t *testing.T) {
t.Logf("%s", err)
}
assert.NoError(t, err)
_, err = client.Config.RemoveProfile(&config.RemoveProfileParams{ProfileName: &[]string{"docker"}[0]})
_, err = client.Config.RemoveProfile(&config.RemoveProfileParams{ProfileName: &[]string{"test"}[0]})
if err != nil {
t.Logf("%s", err)
}
Expand Down

0 comments on commit a13fd34

Please sign in to comment.