Skip to content

Commit 9ea0814

Browse files
fix test
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
1 parent fff28cf commit 9ea0814

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

internal/graphapi/organization_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,10 @@ func TestMutationUpdateOrganization(t *testing.T) {
588588
errorMsg string
589589
}{
590590
{
591-
name: "update name, happy path",
591+
name: "update display name, happy path",
592592
orgID: org.ID,
593593
updateInput: testclient.UpdateOrganizationInput{
594-
Name: &nameUpdate,
594+
DisplayName: &nameUpdate,
595595
},
596596
client: suite.client.api,
597597
ctx: reqCtx,
@@ -778,7 +778,7 @@ func TestMutationUpdateOrganization(t *testing.T) {
778778
name: "update name, too long",
779779
orgID: org.ID,
780780
updateInput: testclient.UpdateOrganizationInput{
781-
Name: &nameUpdateLong,
781+
DisplayName: &nameUpdateLong,
782782
},
783783
client: suite.client.api,
784784
ctx: reqCtx,
@@ -788,7 +788,7 @@ func TestMutationUpdateOrganization(t *testing.T) {
788788
name: "update name, no access",
789789
orgID: org.ID,
790790
updateInput: testclient.UpdateOrganizationInput{
791-
Name: &nameUpdate,
791+
DisplayName: &nameUpdate,
792792
},
793793
client: suite.client.api,
794794
ctx: memberUserCtx,
@@ -798,7 +798,7 @@ func TestMutationUpdateOrganization(t *testing.T) {
798798
name: "update name, not found",
799799
orgID: org.ID,
800800
updateInput: testclient.UpdateOrganizationInput{
801-
Name: &nameUpdate,
801+
DisplayName: &nameUpdate,
802802
},
803803
client: suite.client.api,
804804
ctx: testUser2.UserCtx,

0 commit comments

Comments
 (0)