@@ -62,7 +62,7 @@ func TestOrganizationsService_GetAllCustomProperties(t *testing.T) {
6262 PropertyName : Ptr ("name" ),
6363 ValueType : PropertyValueTypeSingleSelect ,
6464 Required : Ptr (true ),
65- DefaultValue : Ptr ( "production" ) ,
65+ DefaultValue : "production" ,
6666 Description : Ptr ("Prod or dev environment" ),
6767 AllowedValues : []string {"production" , "development" },
6868 ValuesEditableBy : Ptr ("org_actors" ),
@@ -81,7 +81,7 @@ func TestOrganizationsService_GetAllCustomProperties(t *testing.T) {
8181 ValueType : PropertyValueTypeURL ,
8282 Required : Ptr (true ),
8383 Description : Ptr ("Link to the documentation" ),
84- DefaultValue : Ptr ( "https://example.com/docs" ) ,
84+ DefaultValue : "https://example.com/docs" ,
8585 },
8686 }
8787 if ! cmp .Equal (properties , want ) {
@@ -192,7 +192,7 @@ func TestOrganizationsService_GetCustomProperty(t *testing.T) {
192192 PropertyName : Ptr ("name" ),
193193 ValueType : PropertyValueTypeSingleSelect ,
194194 Required : Ptr (true ),
195- DefaultValue : Ptr ( "production" ) ,
195+ DefaultValue : "production" ,
196196 Description : Ptr ("Prod or dev environment" ),
197197 AllowedValues : []string {"production" , "development" },
198198 ValuesEditableBy : Ptr ("org_actors" ),
@@ -236,7 +236,7 @@ func TestOrganizationsService_CreateOrUpdateCustomProperty(t *testing.T) {
236236 property , _ , err := client .Organizations .CreateOrUpdateCustomProperty (ctx , "o" , "name" , & CustomProperty {
237237 ValueType : PropertyValueTypeSingleSelect ,
238238 Required : Ptr (true ),
239- DefaultValue : Ptr ( "production" ) ,
239+ DefaultValue : "production" ,
240240 Description : Ptr ("Prod or dev environment" ),
241241 AllowedValues : []string {"production" , "development" },
242242 ValuesEditableBy : Ptr ("org_actors" ),
@@ -249,7 +249,7 @@ func TestOrganizationsService_CreateOrUpdateCustomProperty(t *testing.T) {
249249 PropertyName : Ptr ("name" ),
250250 ValueType : PropertyValueTypeSingleSelect ,
251251 Required : Ptr (true ),
252- DefaultValue : Ptr ( "production" ) ,
252+ DefaultValue : "production" ,
253253 Description : Ptr ("Prod or dev environment" ),
254254 AllowedValues : []string {"production" , "development" },
255255 ValuesEditableBy : Ptr ("org_actors" ),
0 commit comments