Skip to content

Commit

Permalink
Merge pull request #3072 from fermayo/fix-TestRegistryAsCacheMutation…
Browse files Browse the repository at this point in the history
…APIs

Fix TestRegistryAsCacheMutationAPIs
  • Loading branch information
dmcgowan committed Dec 16, 2019
2 parents bdf3438 + 6ca7b9e commit a837179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion registry/handlers/api_test.go
Expand Up @@ -2012,6 +2012,7 @@ type testEnv struct {
}

func newTestEnvMirror(t *testing.T, deleteEnabled bool) *testEnv {
upstreamEnv := newTestEnv(t, deleteEnabled)
config := configuration.Configuration{
Storage: configuration.Storage{
"testdriver": configuration.Parameters{},
Expand All @@ -2021,7 +2022,7 @@ func newTestEnvMirror(t *testing.T, deleteEnabled bool) *testEnv {
}},
},
Proxy: configuration.Proxy{
RemoteURL: "http://example.com",
RemoteURL: upstreamEnv.server.URL,
},
}
config.Compatibility.Schema1.Enabled = true
Expand Down

0 comments on commit a837179

Please sign in to comment.