Skip to content

Commit

Permalink
fixed a testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 14, 2024
1 parent 6339e9e commit 9f09a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/backend/student_groups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ func TestCampusServer_ListStudentGroup(t *testing.T) {
exampleCouncils := genExampleCouncilData(db, t)
server := CampusServer{db: db}
language := pb.Language_German
response, err := server.ListStudentGroup(ctx, &pb.ListCampusRequest{Language: &language})
response, err := server.ListStudentGroup(ctx, &pb.ListStudentGroupRequest{Language: &language})
require.NoError(t, err)
urlClub0 := exampleClubs[0].Image.FullExternalUrl()
urlCouncil0 := exampleCouncils[0].Image.FullExternalUrl()
expectedResp := &pb.ListCampusReply{
expectedResp := &pb.ListStudentGroupReply{
StudentCouncils: []*pb.StudentCouncilCollection{
{
UnstableCollectionId: uint64(exampleCouncils[0].StudentCouncilCollection.ID),
Expand Down

0 comments on commit 9f09a42

Please sign in to comment.