mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
Import kube package(cue) by GroupVersion (#1309)
* package upgrade * package import * Classified by groupversion * fix test cases * add test cases * check diff * lint code * fix test * add pacakge reference * VersionKind * package upgrade package import Classified by groupversion fix test cases add test cases check diff lint code fix test add pacakge reference VersionKind fix ci
This commit is contained in:
@@ -110,6 +110,8 @@ func TestMakeHTTPRequest(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for testName, tt := range tests {
|
||||
// deep copy it before going to goroutine
|
||||
tt := tt
|
||||
t.Run(testName, func(t *testing.T) {
|
||||
// generate a test server so we can capture and inspect the request
|
||||
testServer := NewMock(tt.httpParameter.method, tt.httpParameter.statusCode, tt.httpParameter.body)
|
||||
|
||||
Reference in New Issue
Block a user