fix gce test to not pass nil as context
package backend
import (
+ "context"
"fmt"
"io"
"net/http"
@@ -134,7 +135,7 @@ func TestNewGCEProvider_RequiresProjectID(t *testing.T) {
func TestGCEProvider_SetupMakesRequests(t *testing.T) {
p, _, rl := gceTestSetup(t, nil, nil)
- err := p.Setup(nil)
+ err := p.Setup(context.TODO())
assert.NotNil(t, err)
assert.Len(t, rl.Reqs, 1)
