Merge pull request #3072 from fermayo/fix-TestRegistryAsCacheMutationAPIs
Fix TestRegistryAsCacheMutationAPIs
This commit is contained in:
commit
a837179414
@ -2012,6 +2012,7 @@ type testEnv struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func newTestEnvMirror(t *testing.T, deleteEnabled bool) *testEnv {
|
func newTestEnvMirror(t *testing.T, deleteEnabled bool) *testEnv {
|
||||||
|
upstreamEnv := newTestEnv(t, deleteEnabled)
|
||||||
config := configuration.Configuration{
|
config := configuration.Configuration{
|
||||||
Storage: configuration.Storage{
|
Storage: configuration.Storage{
|
||||||
"testdriver": configuration.Parameters{},
|
"testdriver": configuration.Parameters{},
|
||||||
@ -2021,7 +2022,7 @@ func newTestEnvMirror(t *testing.T, deleteEnabled bool) *testEnv {
|
|||||||
}},
|
}},
|
||||||
},
|
},
|
||||||
Proxy: configuration.Proxy{
|
Proxy: configuration.Proxy{
|
||||||
RemoteURL: "http://example.com",
|
RemoteURL: upstreamEnv.server.URL,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
config.Compatibility.Schema1.Enabled = true
|
config.Compatibility.Schema1.Enabled = true
|
||||||
|
Loading…
Reference in New Issue
Block a user