update testapi to eliminate redundant fields

This commit is contained in:
deads2k
2015-11-30 15:28:48 -05:00
parent ec1ba7438f
commit 2ee3dfe415
51 changed files with 203 additions and 227 deletions

View File

@@ -44,7 +44,7 @@ func (f *fakePortForwarder) ForwardPorts(method string, url *url.URL, config *cl
}
func TestPortForward(t *testing.T) {
version := testapi.Default.Version()
version := testapi.Default.GroupVersion().Version
tests := []struct {
name, version, podPath, pfPath, container string
@@ -114,7 +114,7 @@ func TestPortForward(t *testing.T) {
}
func TestPortForwardWithPFlag(t *testing.T) {
version := testapi.Default.Version()
version := testapi.Default.GroupVersion().Version
tests := []struct {
name, version, podPath, pfPath, container string