Skip to content

Commit

Permalink
🐛 fix proxy test to update back to the original (#732)
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Murray <[email protected]>
  • Loading branch information
dymurray committed Jul 18, 2024
1 parent fd9c5cf commit ca8c391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api/proxy/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ func TestProxyGetUpdate(t *testing.T) {
}

// Update.
update := orig
update := *orig
update.Host = "127.0.0.1"
update.Port = 8081
update.Enabled = true
err = Proxy.Update(update)
err = Proxy.Update(&update)
if err != nil {
t.Errorf(err.Error())
}
Expand Down

0 comments on commit ca8c391

Please sign in to comment.