We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 969240e commit f8d4a7dCopy full SHA for f8d4a7d
api-tests/server/updates_test.go
@@ -21,6 +21,7 @@ import (
21
"testing"
22
"time"
23
24
+ "github.com/AlekSi/pointer"
25
"github.com/davecgh/go-spew/spew"
26
"github.com/stretchr/testify/assert"
27
"github.com/stretchr/testify/require"
@@ -98,9 +99,7 @@ func TestCheckUpdates(t *testing.T) {
98
99
100
t.Run("Force", func(t *testing.T) {
101
params = &server.CheckUpdatesParams{
- Body: server.CheckUpdatesBody{
102
- Force: true,
103
- },
+ Force: pointer.ToBool(true),
104
Context: pmmapitests.Context,
105
}
106
params.SetTimeout(slow) // that call with force can be slow
0 commit comments