Skip to content

Commit 6abfd62

Browse files
committed
fix test case
1 parent ff8e35a commit 6abfd62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/enterprise_properties_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func TestEnterpriseService_CreateOrUpdateCustomProperties(t *testing.T) {
9292

9393
mux.HandleFunc("/enterprises/e/properties/schema", func(w http.ResponseWriter, r *http.Request) {
9494
testMethod(t, r, "PATCH")
95-
testBody(t, r, `{"properties":[{"property_name":"name","value_type":"single_select","required":true},{"property_name":"service","value_type":"string"}]}`+"\n")
95+
testBody(t, r, `{"properties":[{"property_name":"name","value_type":"single_select","required":true,"default_value":null},{"property_name":"service","value_type":"string","default_value":null}]}`+"\n")
9696
fmt.Fprint(w, `[
9797
{
9898
"property_name": "name",

0 commit comments

Comments
 (0)