Merge pull request #3072 from fermayo/fix-TestRegistryAsCacheMutationAPIs

Fix TestRegistryAsCacheMutationAPIs
This commit is contained in:
Derek McGowan 2019-12-15 20:48:56 -08:00 committed by GitHub
commit a837179414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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{},
@ -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