diff --git a/kong/developer_role_service_test.go b/kong/developer_role_service_test.go index c908afdb..91bf00f2 100644 --- a/kong/developer_role_service_test.go +++ b/kong/developer_role_service_test.go @@ -9,6 +9,7 @@ import ( func TestDeveloperRoleService(T *testing.T) { RunWhenEnterprise(T, ">=0.33.0", RequiredFeatures{Portal: true}) + RunWhenEnterprise(T, "<3.7.0", RequiredFeatures{Portal: true}) assert := assert.New(T) client, err := NewTestClient(nil, nil) @@ -60,6 +61,7 @@ func TestDeveloperRoleService(T *testing.T) { func TestDeveloperRoleServiceList(T *testing.T) { RunWhenEnterprise(T, ">=0.33.0", RequiredFeatures{Portal: true}) + RunWhenEnterprise(T, "<3.7.0", RequiredFeatures{Portal: true}) assert := assert.New(T) client, err := NewTestClient(nil, nil) @@ -98,6 +100,7 @@ func TestDeveloperRoleServiceList(T *testing.T) { func TestDeveloperRoleListEndpoint(T *testing.T) { RunWhenEnterprise(T, ">=0.33.0", RequiredFeatures{Portal: true}) + RunWhenEnterprise(T, "<3.7.0", RequiredFeatures{Portal: true}) assert := assert.New(T) client, err := NewTestClient(nil, nil) diff --git a/kong/developer_service_test.go b/kong/developer_service_test.go index 853ebe0c..51d175df 100644 --- a/kong/developer_service_test.go +++ b/kong/developer_service_test.go @@ -9,6 +9,7 @@ import ( func TestDevelopersService(T *testing.T) { RunWhenEnterprise(T, ">=0.33.0", RequiredFeatures{Portal: true}) + RunWhenEnterprise(T, "<3.7.0", RequiredFeatures{Portal: true}) assert := assert.New(T) client, err := NewTestClient(nil, nil) @@ -79,6 +80,7 @@ func TestDevelopersService(T *testing.T) { func TestDeveloperListEndpoint(T *testing.T) { RunWhenEnterprise(T, ">=0.33.0", RequiredFeatures{Portal: true}) + RunWhenEnterprise(T, "<3.7.0", RequiredFeatures{Portal: true}) assert := assert.New(T) client, err := NewTestClient(nil, nil)