Skip to content

Commit 77bc22d

Browse files
logic change
1 parent a6a015e commit 77bc22d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github/projects_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func TestProjectsService_UpdateProject(t *testing.T) {
9292
Name: String("Project Name"),
9393
Body: String("Project body."),
9494
State: String("open"),
95-
Private: Bool(true),
95+
Private: Bool(false),
9696

9797
OrganizationPermission: String("read"),
9898
}
@@ -857,15 +857,15 @@ func TestProjectOptions_Marshal(t *testing.T) {
857857
Body: String("body"),
858858
State: String("state"),
859859
OrganizationPermission: String("op"),
860-
Private: Bool(true),
860+
Private: Bool(false),
861861
}
862862

863863
want := `{
864864
"name": "name",
865865
"body": "body",
866866
"state": "state",
867867
"organization_permission": "op",
868-
"private": true
868+
"private": false
869869
}`
870870

871871
testJSONMarshal(t, u, want)

0 commit comments

Comments
 (0)