Skip to content

Commit

Permalink
fix(#94): fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpy-Squirrel committed Nov 12, 2024
1 parent 794a70e commit 2d35c08
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/acceptance/groups_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ func TestGroupsList_AdminSuccess(t *testing.T) {
Invites: nil,
}
expected := modelsv1.GroupList{}
if id1 < id2 {
expected.Groups = append(expected.Groups, &grp1, &grp2)
} else {
expected.Groups = append(expected.Groups, &grp2, &grp1)
}
expected.Groups = append(expected.Groups, &grp1, &grp2) // sorted alphabetically by name
tstEqualResponseBodies(t, expected, actual)
}

Expand Down

0 comments on commit 2d35c08

Please sign in to comment.